Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryToUniqueID ¶
func GenUniqueID ¶
func GenUniqueID() string
Generate Unique ID Currently using ULID, this maybe conflict with other process with very low possibility
func GenUniqueJobIDWithDelay ¶
Use the last four bytes of the 16-byte's ULID to store the delaySecond. The last fours bytes was some random value in ULID, so changing that value won't affect anything except randomness.
func UniqueIDToBinary ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.