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