mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-08-19 19:36:24 +00:00
11 lines
273 B
Go
11 lines
273 B
Go
package appconfig
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
// AppConfigResolver loads the current application configuration, so handlers can pass it explicitly to the service methods that need it
|
|
type AppConfigResolver interface {
|
|
GetConfig(ctx context.Context) (*AppConfigModel, error)
|
|
}
|