Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IConfig ¶
type IConfig interface { GetSettings() IConfigSettings GetLogging() logger.ILogging GetAddress() IAddress GetNetworkKey() string GetConnections() []string GetConsumers() []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 SConfig ¶
type SConfig struct { FSettings *SConfigSettings `json:"settings"` FLogging []string `json:"logging,omitempty"` FAddress *SAddress `json:"address,omitempty"` FNetworkKey string `json:"network_key,omitempty"` FConnections []string `json:"connections,omitempty"` FConsumers []string `json:"consumers,omitempty"` // contains filtered or unexported fields }
func (*SConfig) GetAddress ¶ added in v1.5.6
func (*SConfig) GetConnections ¶ added in v1.5.13
func (*SConfig) GetConsumers ¶ added in v1.5.6
func (*SConfig) GetLogging ¶ added in v1.5.6
func (*SConfig) GetNetworkKey ¶ added in v1.5.16
func (*SConfig) GetSettings ¶ added in v1.5.18
func (p *SConfig) GetSettings() IConfigSettings
type SConfigSettings ¶ added in v1.5.18
type SConfigSettings struct { FMessageSizeBytes uint64 `json:"message_size_bytes"` FWorkSizeBits uint64 `json:"work_size_bits"` FQueuePeriodMS uint64 `json:"queue_period_ms,omitempty"` FMessagesCapacity uint64 `json:"messages_capacity,omitempty"` FLimitVoidSizeBytes uint64 `json:"limit_void_size_bytes,omitempty"` }
func (*SConfigSettings) GetLimitVoidSizeBytes ¶ added in v1.5.18
func (p *SConfigSettings) GetLimitVoidSizeBytes() uint64
func (*SConfigSettings) GetMessageSizeBytes ¶ added in v1.5.18
func (p *SConfigSettings) GetMessageSizeBytes() uint64
func (*SConfigSettings) GetMessagesCapacity ¶ added in v1.5.18
func (p *SConfigSettings) GetMessagesCapacity() uint64
func (*SConfigSettings) GetQueuePeriodMS ¶ added in v1.5.18
func (p *SConfigSettings) GetQueuePeriodMS() uint64
func (*SConfigSettings) GetWorkSizeBits ¶ added in v1.5.18
func (p *SConfigSettings) GetWorkSizeBits() uint64
Click to show internal directories.
Click to hide internal directories.