Documentation ¶ Index ¶ func ReadMachineID() []byte func Salt() uint64 type ZID func (zid ZID) New(i uint64) string func (zid ZID) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ReadMachineID ¶ func ReadMachineID() []byte func Salt ¶ func Salt() uint64 Types ¶ type ZID ¶ type ZID string const ( // ID for the user resource in monster-usercenter. User ZID = "user" // ID for the order resource in monster-fakeserver. Order ZID = "order" // ID for the template resource in monster-sms. Template ZID = "template" ) func (ZID) New ¶ func (zid ZID) New(i uint64) string func (ZID) String ¶ func (zid ZID) String() string Source Files ¶ View all Source files salt.go zid.go Click to show internal directories. Click to hide internal directories.