Documentation
¶
Index ¶
- Variables
- type Conf
- type ConfEntry
- type Conn
- func (c *Conn) Atomic(key string, op uint16, values [][]byte) (ver uint64, vals [][]byte, err error)
- func (c *Conn) Create(key, flags string, value []byte) (version uint64, err error)
- func (c *Conn) Get(key string, version uint64) (ver uint64, val []byte, err error)
- func (c *Conn) Remove(key string) (err error)
- func (c *Conn) Set(key string, value []byte) (ver uint64, err error)
- func (c *Conn) TestSet(key string, oldversion uint64, oldvalue, value []byte) (ver uint64, val []byte, err error)
- type D2Hop
- func (s *D2Hop) Atomic(key string, op uint16, values [][]byte) (ver uint64, vals [][]byte, err error)
- func (s *D2Hop) Close()
- func (s *D2Hop) ConnClosed(c *hopsrv.Conn)
- func (s *D2Hop) ConnOpened(c *hopsrv.Conn)
- func (s *D2Hop) Connection() rmt.Conn
- func (s *D2Hop) Create(key, flags string, value []byte) (version uint64, err error)
- func (s *D2Hop) Get(key string, version uint64) (ver uint64, val []byte, err error)
- func (s *D2Hop) Remove(key string) (err error)
- func (s *D2Hop) Set(key string, value []byte) (ver uint64, err error)
- func (s *D2Hop) SetDebugLevel(n int)
- func (s *D2Hop) SetLogger(l *hop.Logger)
- func (s *D2Hop) TestSet(key string, oldversion uint64, oldvalue, value []byte) (ver uint64, val []byte, err error)
- type Hash
- type KeyHash
- type KeysEntry
- type LocalEntry
- type Range
- type RangeList
- type StackEntry
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultKeyHash = "fnv1a"
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Represents client connection, both from a client, or another server. If from client, the clnt field is nil.
type D2Hop ¶
func (*D2Hop) ConnClosed ¶
func (*D2Hop) ConnOpened ¶
func (*D2Hop) Connection ¶
func (*D2Hop) SetDebugLevel ¶
make D2Hop implement the RemoteHop interface
type KeysEntry ¶
type KeysEntry LocalEntry
type LocalEntry ¶
type StackEntry ¶
type StackEntry LocalEntry
Click to show internal directories.
Click to hide internal directories.