Documentation ¶
Index ¶
- type IAddress
- type IConfig
- type IConfigSettings
- type IEditor
- type IWrapper
- type SAddress
- type SConfig
- func (p *SConfig) GetAddress() IAddress
- func (p *SConfig) GetBackupConnections() []string
- func (p *SConfig) GetConnection() string
- func (p *SConfig) GetLanguage() utils.ILanguage
- func (p *SConfig) GetLogging() logger.ILogging
- 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 GetBackupConnections() []string GetLanguage() utils.ILanguage }
func BuildConfig ¶ added in v1.5.6
func InitConfig ¶ added in v1.5.8
func LoadConfig ¶
type IConfigSettings ¶ added in v1.5.18
type IConfigSettings interface {
GetMessagesCapacity() uint64
}
type IWrapper ¶ added in v1.5.15
func NewWrapper ¶ added in v1.5.15
type SAddress ¶
func (*SAddress) GetIncoming ¶ added in v1.5.6
func (*SAddress) GetInterface ¶ added in v1.5.6
type SConfig ¶
type SConfig struct { FSettings *SConfigSettings `json:"settings"` FLogging []string `json:"logging,omitempty"` FLanguage string `json:"language,omitempty"` FAddress *SAddress `json:"address"` FConnection string `json:"connection"` FStorageKey string `json:"storage_key,omitempty"` FBackupConnections []string `json:"backup_connections,omitempty"` // contains filtered or unexported fields }
func (*SConfig) GetAddress ¶ added in v1.5.6
func (*SConfig) GetBackupConnections ¶ added in v1.5.15
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) 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 `json:"messages_capacity"`
}
func (*SConfigSettings) GetMessagesCapacity ¶ added in v1.5.18
func (p *SConfigSettings) GetMessagesCapacity() uint64
Click to show internal directories.
Click to hide internal directories.