Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HeaderToken token key define HeaderToken = "token" // HeaderUID UID key define HeaderUID = "UID" )
View Source
const (
//PackageLengthSize package length size
PackageLengthSize = 2
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogicConfig ¶
type LogicConfig struct { QueueSize int `mapstructure:"queue_size"` WorkerPoolCapacity int `mapstructure:"worker_pool_capacity"` }
LogicConfig logic common config
func (*LogicConfig) GetQueueSize ¶
func (s *LogicConfig) GetQueueSize() int
GetQueueSize get module queue size
Click to show internal directories.
Click to hide internal directories.