settings

package
v1.5.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IConfigSettings

type IConfigSettings interface {
	// IsValid() bool
	message.ISettings
}

type SConfigSettings

type SConfigSettings struct {
	FSettings SConfigSettingsBlock `json:"settings"`
}

func (*SConfigSettings) GetKeySizeBits

func (p *SConfigSettings) GetKeySizeBits() uint64

func (*SConfigSettings) GetLimitVoidSizeBytes added in v1.5.15

func (p *SConfigSettings) GetLimitVoidSizeBytes() uint64

func (*SConfigSettings) GetMessageSizeBytes

func (p *SConfigSettings) GetMessageSizeBytes() uint64

func (*SConfigSettings) GetMessagesCapacity

func (p *SConfigSettings) GetMessagesCapacity() uint64

func (*SConfigSettings) GetQueuePeriodMS

func (p *SConfigSettings) GetQueuePeriodMS() uint64

func (*SConfigSettings) GetWorkSizeBits

func (p *SConfigSettings) GetWorkSizeBits() uint64

func (*SConfigSettings) IsValid added in v1.5.14

func (p *SConfigSettings) IsValid() bool

type SConfigSettingsBlock

type SConfigSettingsBlock struct {
	// basic values
	FMessageSizeBytes uint64 `json:"message_size_bytes"`
	FWorkSizeBits     uint64 `json:"work_size_bits"`

	// HLS, HLT
	FQueuePeriodMS      uint64 `json:"queue_period_ms,omitempty"`
	FLimitVoidSizeBytes uint64 `json:"limit_void_size_bytes,omitempty"`

	// HLS, HLM
	FKeySizeBits uint64 `json:"key_size_bits,omitempty"`

	// HLT, HLM
	FMessagesCapacity uint64 `json:"messages_capacity,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL