Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func InitEnvironment ¶
func InitEnvironment()
Types ¶
type AuthConfig ¶
type AuthConfig struct {
PublicKeyPath string `yaml:"publicKeyPath"`
}
type CommonConfig ¶
type DataStoreConfig ¶
type SecurityConfig ¶
type SecurityConfig struct {
TLSCertificate *meta.TLSCertificate `yaml:"tlsCertificate"`
}
type ServiceConfig ¶
type ServiceConfig struct { Common CommonConfig `yaml:"commonConfig"` Security SecurityConfig `yaml:"securityConfig"` Auth AuthConfig `yaml:"authConfig"` Mongo DataStoreConfig `yaml:"mongoConfig"` Postgres DataStoreConfig `yaml:"postgresConfig"` Redis DataStoreConfig `yaml:"redisConfig"` }
func ReadServiceConfig ¶
func ReadServiceConfig(filename string) (sc ServiceConfig, err error)
Click to show internal directories.
Click to hide internal directories.