Documentation
¶
Index ¶
- func GetDataBuf(size int) []byte
- func RecycleDataBuf(b []byte)
- type KV
- func (kv *KV) CleanBefore(seconds int64)
- func (kv *KV) Close()
- func (kv *KV) Delete(collection string, id uint64)
- func (kv *KV) Iterate(collection string, each func(id uint64, data []byte))
- func (kv *KV) LogInfo() (info LogInfo)
- func (kv *KV) MaxSeqNum() (seqNum uint64)
- func (kv *KV) Primary() bool
- func (kv *KV) Store(collection string, id uint64, data []byte)
- func (kv *KV) SyncRecv(conn net.Conn)
- func (kv *KV) SyncSend(conn net.Conn)
- type LogInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDataBuf ¶
func RecycleDataBuf ¶
func RecycleDataBuf(b []byte)
Types ¶
type KV ¶
type KV struct {
// contains filtered or unexported fields
}
func NewPrimary ¶
func NewSecondary ¶
func (*KV) CleanBefore ¶
Click to show internal directories.
Click to hide internal directories.