Documentation ¶
Index ¶
- Variables
- func New() common.Factory
- func NewFileProvider(configPath string, extension string, logger zerolog.Logger) common.ConfigProvider
- func NewFileProviderForFS(fs fs.FS, extension string, logger zerolog.Logger) common.ConfigProvider
- func NewFromConfig(config Config) (common.Factory, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ResourceNotFound = errors.New("resource not found")
)
Functions ¶
func NewFileProvider ¶
func NewFileProviderForFS ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.