package
Version:
v0.0.0-...-bdd3411
Opens a new window with list of versions in this module.
Published: Apr 15, 2015
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
KeyToID converts a key to an ID.
NewID generates an ID based on the current time.
Key returns the byte representation of this ID.
IDHeap is a sorted set of IDs.
NewIDHeap constructs a new ID heap.
func (h *IDHeap) Pop() interface{}
PopID pops the first ID from the heap.
func (h *IDHeap) Push(x interface{})
PushID pushes an ID onto the heap.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.