Documentation ¶
Index ¶
- Constants
- Variables
- func AssertAny(t *testing.T, got interface{}, expected interface{}) bool
- func AssertBool(t *testing.T, got bool, expected bool) bool
- func AssertInt(t *testing.T, got int, expected int) bool
- func AssertSize(t *testing.T, got int, expected int) bool
- func AssertString(t *testing.T, got string, expected string) bool
- func AssertValue(t *testing.T, got []byte, expected string) bool
- func NewHashTree(shardCount int) *hashTree
- func NewRBTree() *rbTree
- type Entry
- type Iterator
- type RBTree
Constants ¶
View Source
const ( RED = 0 BLACK = 1 )
View Source
const ( LESS = -1 EQUAL = 0 GREATER = 1 )
Variables ¶
View Source
var DEBUG = true
Functions ¶
func NewHashTree ¶
func NewHashTree(shardCount int) *hashTree
NewHashTree returns a new sharded hash tree
Types ¶
Click to show internal directories.
Click to hide internal directories.