xdb

package
v1.1.0-beta.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const PREFIX = "xdb"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(name, uri string) (*Client, error)

func (*Client) Close

func (This *Client) Close() error

func (*Client) DelKeyVal

func (This *Client) DelKeyVal(table, key string) error

func (*Client) GetKeyVal

func (This *Client) GetKeyVal(table, key string, data interface{}) ([]byte, error)

func (*Client) GetKeyValBytes

func (This *Client) GetKeyValBytes(table, key string) ([]byte, error)

func (*Client) GetListByKeyPrefix

func (This *Client) GetListByKeyPrefix(table, key string, data interface{}) ([]string, error)

func (*Client) PutKeyVal

func (This *Client) PutKeyVal(table, key string, data interface{}) error

func (*Client) PutKeyValBytes

func (This *Client) PutKeyValBytes(table, key string, val []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL