Documentation
¶
Overview ¶
middlewarehelper 用于规范中间件的模块 中间件指的是一些有特殊业务用途的模块, 这个子模块是整个redishelper的一个基本组件
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOptions = Options{ ClientID: machineid.MachineIDStr, }
Functions ¶
Types ¶
type ClientIDAbc ¶
type ClientIDAbc struct {
// contains filtered or unexported fields
}
type ClientIDInterface ¶
type ClientIDInterface interface { //ClientID 查看组件设置的客户端ID ClientID() string }
ClientIDInterface 作为客户端的接口,ClientID为识别自身的标识
Click to show internal directories.
Click to hide internal directories.