# Functions
*
* 解码字符串为整数
*/.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
generateID returns a randomly-generated 64-bit ID.
No description provided by the author
No description provided by the author
No description provided by the author
*
* 编码 整数 为 base62 字符串
*/.
No description provided by the author
No description provided by the author
Creates a new concurrent map.
NewBeeMap return new safemap.
New constructs and returns a new Queue.
Create a new SyncQueue.
ParseID parses the given string as a hexadecimal string.
No description provided by the author
No description provided by the author
# Structs
BeeMap is a map with lock.
A "thread" safe string to anything map.
Queue represents a single instance of the queue data structure.
No description provided by the author
Synchronous FIFO queue.
Used by the Iter & IterBuffered functions to wrap two variables together over a channel,.
# Type aliases
A "thread" safe map of type string:Anything.
An ID is a unique, uniformly distributed 64-bit ID.
Iterator callback,called for every key,value found in maps.
RemoveCb is a callback executed in a map.RemoveCb() call, while Lock is held If returns true, the element will be removed from the map.
Callback to return new element to be inserted into the map It is called while lock is held, therefore it MUST NOT try to access other keys in same map, as it can lead to deadlock since Go sync.RWLock is not reentrant.