Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IConfig ¶
type IConfig interface { GetLogging() logger.ILogging GetSettings() IConfigSettings GetAddress() IAddress }
func LoadConfig ¶
type IConfigSettings ¶
type IConfigSettings interface {
GetValue() string
}
type SConfig ¶
type SConfig struct { FSettings *SConfigSettings `yaml:"settings"` FLogging []string `yaml:"logging,omitempty"` FAddress *SAddress `yaml:"address"` // contains filtered or unexported fields }
func (*SConfig) GetAddress ¶
func (*SConfig) GetLogging ¶
func (*SConfig) GetSettings ¶
func (p *SConfig) GetSettings() IConfigSettings
type SConfigSettings ¶
type SConfigSettings struct {
FValue string `json:"value" yaml:"value"`
}
func (*SConfigSettings) GetValue ¶
func (p *SConfigSettings) GetValue() string
Click to show internal directories.
Click to hide internal directories.