Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotFound for service. ErrNotFound = errors.New("not found") // ErrInvalidArgument for service. ErrInvalidArgument = errors.New("invalid argument") )
View Source
var Module = fx.Options( fx.Provide(NewConfiguration), )
Module for fx.
Functions ¶
func IsInvalidArgument ¶ added in v1.185.0
IsInvalidArgument for service.
Types ¶
type Config ¶ added in v1.185.0
type Config struct {
// contains filtered or unexported fields
}
Config for a specific application.
func (*Config) Application ¶ added in v1.185.0
Application for config.
func (*Config) Environment ¶ added in v1.185.0
Environment for config.
type Configuration ¶ added in v1.185.0
type Configuration struct {
// contains filtered or unexported fields
}
Configuration for the different transports.
func NewConfiguration ¶ added in v1.185.0
func NewConfiguration(provider *provider.Transformer, config source.Configurator, source *source.Transformer) *Configuration
NewConfiguration for the different transports.
func (*Configuration) GetSecrets ¶ added in v1.185.0
func (s *Configuration) GetSecrets(ctx context.Context, secs map[string]string) (map[string][]byte, error)
GetSecrets for service.
Click to show internal directories.
Click to hide internal directories.