Documentation ¶
Index ¶
- Constants
- func LoadEnvironmentFile(logger log.Logger, envVar string, config interface{}) error
- type Service
- func (s *Service) Load(config interface{}) error
- func (s *Service) LoadEmbeddedFile(file string, config interface{}, fs fs.FS) error
- func (s *Service) LoadFile(file string, config interface{}) error
- func (s *Service) LoadFromFS(config interface{}, fs fs.FS) error
- func (s *Service) MergeEnvironments(config interface{}) error
Constants ¶
View Source
const APP_CONFIG = "APP_CONFIG"
View Source
const APP_CONFIG_SECRETS = "APP_CONFIG_SECRETS" //nolint:gosec
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) LoadEmbeddedFile ¶ added in v0.44.0
func (*Service) LoadFromFS ¶ added in v0.44.0
func (*Service) MergeEnvironments ¶ added in v0.44.0
Click to show internal directories.
Click to hide internal directories.