package
Version:
v0.0.0-...-fc33dcb
Opens a new window with list of versions in this module.
Published: May 22, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Body struct {
Next *Body
Key []byte
Value interface{}
Check bool
Operate func() error
}
type Queue struct {
Body *Body
Length int
}
type Ring struct {
Now *Msg
Dead []*Msg `用来存放没有成功推送出去的消息,消息都会立即推送出去,没推出去下方在Dead`
All int `当前所有的消息数`
}
TODO Message
要 new 出一个环形的msg
Source Files
¶
Click to show internal directories.
Click to hide internal directories.