Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidConfig = &SConfigError{"invalid config"} ErrLoadLogging = &SConfigError{"load logging"} ErrInvalidLogging = &SConfigError{"invalid logging"} ErrInitConfig = &SConfigError{"init config"} ErrDeserializeConfig = &SConfigError{"deserialize config"} ErrReadConfig = &SConfigError{"read config"} ErrConfigNotExist = &SConfigError{"config not exist"} ErrWriteConfig = &SConfigError{"write config"} ErrConfigAlreadyExist = &SConfigError{"config already exist"} )
Functions ¶
This section is empty.
Types ¶
type IConfig ¶
func LoadConfig ¶
type SConfig ¶
type SConfig struct { FLogging []string `yaml:"logging,omitempty"` FServices []string `yaml:"services"` // contains filtered or unexported fields }
func (*SConfig) GetLogging ¶
func (*SConfig) GetServices ¶
type SConfigError ¶ added in v1.6.8
type SConfigError struct {
// contains filtered or unexported fields
}
func (*SConfigError) Error ¶ added in v1.6.8
func (err *SConfigError) Error() string
Click to show internal directories.
Click to hide internal directories.