Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type UIDGenerator ¶
type UIDGenerator struct {
// contains filtered or unexported fields
}
func NewUIDGenerator ¶
func NewUIDGenerator(nodeId uint, apps uint) (*UIDGenerator, error)
NewUIDGenerator nodeId表示第几个节点,apps表示有几个应用 从0开始排序 0-webook 1-ielts 最多到31
Click to show internal directories.
Click to hide internal directories.