Documentation ¶
Index ¶
- type ConfigProvider
- func NewEmbeddedFSProvider(precedence int, path string, fs embed.FS) (provider *ConfigProvider, exists bool)
- func NewFileProvidersFromBaseName(precedence int, baseName string, ext string, conf bootstrap.ApplicationConfig) (provider *ConfigProvider, exists bool)
- func NewProvider(precedence int, filePath string, reader io.Reader) *ConfigProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigProvider ¶
type ConfigProvider struct { appconfig.ProviderMeta // contains filtered or unexported fields }
func NewEmbeddedFSProvider ¶
func NewFileProvidersFromBaseName ¶
func NewFileProvidersFromBaseName(precedence int, baseName string, ext string, conf bootstrap.ApplicationConfig) (provider *ConfigProvider, exists bool)
func NewProvider ¶
func NewProvider(precedence int, filePath string, reader io.Reader) *ConfigProvider
func (*ConfigProvider) Load ¶
func (configProvider *ConfigProvider) Load(_ context.Context) (loadError error)
func (*ConfigProvider) Name ¶
func (configProvider *ConfigProvider) Name() string
Click to show internal directories.
Click to hide internal directories.