Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgres ¶
type Postgres struct { ConnectionString string `mapstructure:"uri"` Database string `mapstructure:"database"` MigrationsPath string `mapstructure:"migrations_path"` }
Postgres specific options
type Secrets ¶
type Secrets struct { SecretsKey `mapstructure:"secretskey"` Service `mapstructure:"service"` Postgres `mapstructure:"postgres"` certs.TLSConfig `mapstructure:"tls"` }
Secrets service specific config options
type SecretsKey ¶
SecretsKey options
type Service ¶
type Service struct { Host string `mapstructure:"host"` Port int `mapstructure:"port"` LogLevel string `mapstructure:"log_level"` }
Service is a base config options struct for all services
func (*Service) SetLogLevel ¶
func (s *Service) SetLogLevel()
SetLogLevel sets the log level for the service
Click to show internal directories.
Click to hide internal directories.