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 GetProducers() []string GetConsumers() []string }
func LoadConfig ¶
type IConfigSettings ¶
type IConfigSettings interface { net_message.ISettings GetMessagesCapacity() uint64 }
type SConfig ¶
type SConfig struct { FSettings *SConfigSettings `yaml:"settings"` FLogging []string `yaml:"logging,omitempty"` FAddress *SAddress `yaml:"address"` FProducers []string `yaml:"producers,omitempty"` FConsumers []string `yaml:"consumers,omitempty"` // contains filtered or unexported fields }
func (*SConfig) GetAddress ¶
func (*SConfig) GetConsumers ¶
func (*SConfig) GetLogging ¶
func (*SConfig) GetProducers ¶
func (*SConfig) GetSettings ¶
func (p *SConfig) GetSettings() IConfigSettings
type SConfigSettings ¶
type SConfigSettings struct { FMessagesCapacity uint64 `json:"messages_capacity" yaml:"messages_capacity"` FWorkSizeBits uint64 `json:"work_size_bits,omitempty" yaml:"work_size_bits,omitempty"` FNetworkKey string `json:"network_key,omitempty" yaml:"network_key,omitempty"` }
func (*SConfigSettings) GetMessagesCapacity ¶
func (p *SConfigSettings) GetMessagesCapacity() uint64
func (*SConfigSettings) GetNetworkKey ¶
func (p *SConfigSettings) GetNetworkKey() string
func (*SConfigSettings) GetWorkSizeBits ¶
func (p *SConfigSettings) GetWorkSizeBits() uint64
Click to show internal directories.
Click to hide internal directories.