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 { message.ISettings net_message.ISettings GetLimitVoidSizeBytes() uint64 }
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 { FMessageSizeBytes uint64 `json:"message_size_bytes" yaml:"message_size_bytes"` FKeySizeBits uint64 `json:"key_size_bits" yaml:"key_size_bits"` FWorkSizeBits uint64 `json:"work_size_bits,omitempty" yaml:"work_size_bits,omitempty"` FLimitVoidSizeBytes uint64 `json:"limit_void_size_bytes,omitempty" yaml:"limit_void_size_bytes,omitempty"` FNetworkKey string `json:"network_key,omitempty" yaml:"network_key,omitempty"` }
func (*SConfigSettings) GetKeySizeBits ¶
func (p *SConfigSettings) GetKeySizeBits() uint64
func (*SConfigSettings) GetLimitVoidSizeBytes ¶ added in v1.6.6
func (p *SConfigSettings) GetLimitVoidSizeBytes() uint64
func (*SConfigSettings) GetMessageSizeBytes ¶
func (p *SConfigSettings) GetMessageSizeBytes() 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.