Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseReq ¶
type BaseReq struct {
Context Context `json:"-"` // 這個字段不能修改偏移值 ⚠️ 必须保持第一位
// 字符串字段(16字节)
Cmd string `json:"cmd"`
// 数值字段(8字节对齐)
PrevID int64 `json:"prevID"`
LastID int64 `json:"lastID"`
Offset int64 `json:"offset"`
Limit int64 `json:"limit"`
// bool字段(1字节)
CountQ bool `json:"countQ"`
}
func GetBasePtrReq ¶
Click to show internal directories.
Click to hide internal directories.