Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LdbCodec ¶ added in v1.0.4
type LdbCodec[K any, V any] interface { // EncodeKey encode key EncodeKey(data K) (k []byte, err error) // DecodeKey decode key DecodeKey(data []byte) (k K, err error) // EncodeVal encode value EncodeVal(data V) (v []byte, err error) // DecodeVal decode value DecodeVal(data []byte) (v V, err error) }
LdbCodec leveldb codec interface
Click to show internal directories.
Click to hide internal directories.