Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IteratePrefix ¶
IteratePrefix is a convenience function for iterating over a key domain restricted by prefix.
func NewPrefixReadWriter ¶
func NewPrefixReadWriter(dbrw db.DBReadWriter, prefix []byte) prefixRW
NewPrefixReadWriter returns a DBReader that only has access to the subset of DB keys that contain the given prefix.
func NewPrefixReader ¶
NewPrefixReader returns a DBReader that only has access to the subset of DB keys that contain the given prefix.
func NewPrefixWriter ¶
NewPrefixWriter returns a DBWriter that reads/writes only from the subset of DB keys that contain the given prefix
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.