README ¶ lvdb levelDB server and client Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Variables type Client func (c *Client) Close() func (c *Client) Del(keys ...[]byte) error func (c *Client) Get(keys ...[]byte) (replys [][]byte, err error) func (c *Client) Ping() error func (c *Client) Put(kvs ...Kv) error type Kv type Pool func NewPool(url string, maxIdel uint32) *Pool func (p *Pool) Get() (*Client, error) func (p *Pool) Put(client *Client) Constants ¶ This section is empty. Variables ¶ View Source var ErrClientBroken = errors.New("lvDB: client broken") Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func (*Client) Close ¶ func (c *Client) Close() func (*Client) Del ¶ func (c *Client) Del(keys ...[]byte) error func (*Client) Get ¶ func (c *Client) Get(keys ...[]byte) (replys [][]byte, err error) func (*Client) Ping ¶ func (c *Client) Ping() error func (*Client) Put ¶ func (c *Client) Put(kvs ...Kv) error type Kv ¶ type Kv struct { Key []byte Value []byte } type Pool ¶ type Pool struct { Url string MaxIdle uint32 // contains filtered or unexported fields } func NewPool ¶ func NewPool(url string, maxIdel uint32) *Pool func (*Pool) Get ¶ func (p *Pool) Get() (*Client, error) func (*Pool) Put ¶ func (p *Pool) Put(client *Client) Source Files ¶ View all Source files lvdbCli.go lvdbDef.go Directories ¶ Show internal Expand all Path Synopsis client server Click to show internal directories. Click to hide internal directories.