Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
定义一个woker工作节点所需要的基本参数
func NewWorkerWithRedis ¶
func NewWorkerWithRedis(r *redis.RedisClient, appName string) (*Worker, error)
func (*Worker) GetIdWithPrefix ¶
Click to show internal directories.
Click to hide internal directories.