Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Differ = time.Second * 10 DefaultPayload = []byte("0000000000000000") )
Functions ¶
func AfterTime ¶
AfterTime uses SafeUnixDiff as factor to make sure we can get an id that is always greater than the given time
func BeforeTime ¶
AfterTime uses SafeUnixDiff as factor to make sure we can get an id that is always less than the given time
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.