Documentation ¶
Index ¶
- Constants
- func NewHashIDUint64(key string) uint64
- type HashID
- func (h HashID) Add(offset int64) HashID
- func (h HashID) Between(from HashID, to HashID) bool
- func (h HashID) Equals(other HashID) bool
- func (h HashID) GreaterThan(other HashID) bool
- func (h HashID) GreaterThanEqual(other HashID) bool
- func (h HashID) LessThan(other HashID) bool
- func (h HashID) LessThanEqual(other HashID) bool
- type NodeRef
Constants ¶
View Source
const (
BitSize = 256
)
Variables ¶
This section is empty.
Functions ¶
func NewHashIDUint64 ¶
Types ¶
type HashID ¶
type HashID []byte
func BytesToHashID ¶
func (HashID) GreaterThan ¶
func (HashID) GreaterThanEqual ¶
func (HashID) LessThanEqual ¶
Click to show internal directories.
Click to hide internal directories.