Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Engine ¶
type Engine struct {
Subscribed *topic.Tree
Retained *sync.Map
Clients *sync.Map
Qos1Store *multimap.MultiMap
Qos2PubStore *multimap.MultiMap
Qos2RelStore *multimap.MultiMap
JwtSecretKey [][]byte
SelfDdosDeny int
LazyMsgSend int
NilConnDeny int
BlockTime int
MaxAttempts int
IpBlocker *ipblocker.Blocker // 增加Blocker字段
// contains filtered or unexported fields
}
func (*Engine) InitIpBlocker ¶ added in v1.0.3
func (e *Engine) InitIpBlocker()
Click to show internal directories.
Click to hide internal directories.