Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KV ¶
type KV struct {
// contains filtered or unexported fields
}
KV represents a key-value pair whose value has been unmarshaled
type MapReader ¶
type MapReader struct { kv.MapReader Unmarshal Unmarshaler }
MapReader is like kv.MapReader except it marshals the values
type MapUpdater ¶
type MapUpdater struct {
kv.MapUpdater
}
MapUpdater is like kv.MapUpdater except it marshals the values
func (*MapUpdater) Put ¶
func (m *MapUpdater) Put(key []byte, value Marshalable) error
Put is like kv.MapUpdater.Put except it marshals the value
type Marshalable ¶
Marshalable describes a type that can be marshaled to a series of bytes
type Unmarshaler ¶
Unmarshaler is a function that unmarshals bytes into some type
Click to show internal directories.
Click to hide internal directories.