Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func InitEnvironment ¶
func InitEnvironment()
Types ¶
type AuthConfig ¶
type AuthConfig struct { PublicKeyPath string `yaml:"publicKeyPath"` AuthEndpoint string `yaml:"authEndpoint"` TLSCertificate *meta.TLSCertificate `yaml:"tlsCertificate"` }
type CommonConfig ¶
type ElasticConfig ¶
type SearchConfig ¶
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"` Elastic ElasticConfig `yaml:"elasticConfig"` Search SearchConfig `yaml:"searchConfig"` }
func ReadServiceConfig ¶
func ReadServiceConfig(filename string) (sc ServiceConfig, err error)
Click to show internal directories.
Click to hide internal directories.