Documentation ¶
Index ¶
- type Client
- func (c *Client) Cancel(chain uint64, flag []byte) error
- func (c *Client) Close()
- func (c *Client) Commit(chain uint64, flag []byte) error
- func (c *Client) Exist(chain uint64, tbName, key []byte) bool
- func (c *Client) Get(chain uint64, tbName, key []byte) []byte
- func (c *Client) GetAddress() (addrType, address string)
- func (c *Client) GetLastFlag(chain uint64) []byte
- func (c *Client) GetNextKey(chain uint64, tbName, preKey []byte) []byte
- func (c *Client) OpenFlag(chain uint64, flag []byte) error
- func (c *Client) Rollback(chain uint64, flag []byte) error
- func (c *Client) Set(chain uint64, tbName, key, value []byte) error
- func (c *Client) SetWithFlag(chain uint64, flag, tbName, key, value []byte) error
- type FlagArgs
- type GetArgs
- type SetArgs
- type SetWithFlagArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client client
func (*Client) GetAddress ¶ added in v1.0.4
GetAddress get address info
func (*Client) GetNextKey ¶
GetNextKey get next key
Click to show internal directories.
Click to hide internal directories.