Documentation ¶
Index ¶
- type IAddress
- type IConfig
- type IConfigSettings
- type IEditor
- type IWrapper
- type SAddress
- type SConfig
- func (p *SConfig) GetAddress() IAddress
- func (p *SConfig) GetConnection() string
- func (p *SConfig) GetLanguage() utils.ILanguage
- func (p *SConfig) GetLogging() logger.ILogging
- func (p *SConfig) GetSecretKeys() map[string]string
- func (p *SConfig) GetSettings() IConfigSettings
- func (p *SConfig) GetStorageKey() string
- type SConfigSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IConfig ¶
type IConfig interface { GetSettings() IConfigSettings GetAddress() IAddress GetLogging() logger.ILogging GetConnection() string GetStorageKey() string GetLanguage() utils.ILanguage GetSecretKeys() map[string]string }
func BuildConfig ¶ added in v1.5.6
func InitConfig ¶ added in v1.5.8
func LoadConfig ¶
type IConfigSettings ¶ added in v1.5.18
type IWrapper ¶ added in v1.5.15
func NewWrapper ¶ added in v1.5.15
type SAddress ¶
type SAddress struct { FInterface string `yaml:"interface"` FIncoming string `yaml:"incoming"` FPPROF string `yaml:"pprof,omitempty"` }
func (*SAddress) GetIncoming ¶ added in v1.5.6
func (*SAddress) GetInterface ¶ added in v1.5.6
type SConfig ¶
type SConfig struct { FSettings *SConfigSettings `yaml:"settings"` FLogging []string `yaml:"logging,omitempty"` FLanguage string `yaml:"language,omitempty"` FAddress *SAddress `yaml:"address"` FConnection string `yaml:"connection"` FStorageKey string `yaml:"storage_key,omitempty"` FSecretKeys map[string]string `yaml:"secret_keys,omitempty"` // contains filtered or unexported fields }
func (*SConfig) GetAddress ¶ added in v1.5.6
func (*SConfig) GetConnection ¶ added in v1.5.6
func (*SConfig) GetLanguage ¶ added in v1.5.15
func (*SConfig) GetLogging ¶ added in v1.5.6
func (*SConfig) GetSecretKeys ¶ added in v1.5.24
func (*SConfig) GetSettings ¶ added in v1.5.18
func (p *SConfig) GetSettings() IConfigSettings
func (*SConfig) GetStorageKey ¶ added in v1.5.6
type SConfigSettings ¶ added in v1.5.18
type SConfigSettings struct { FMessagesCapacity uint64 `yaml:"messages_capacity"` FWorkSizeBits uint64 `yaml:"work_size_bits,omitempty"` }
func (*SConfigSettings) GetMessagesCapacity ¶ added in v1.5.18
func (p *SConfigSettings) GetMessagesCapacity() uint64
func (*SConfigSettings) GetWorkSizeBits ¶ added in v1.5.20
func (p *SConfigSettings) GetWorkSizeBits() uint64
Click to show internal directories.
Click to hide internal directories.