Documentation ¶
Index ¶
- type Client
- func (c *Client) AddKeygroupTrigger(kg string, id string, host string) error
- func (c *Client) Append(kg string, id string, val string, expiry int) error
- func (c *Client) Close() error
- func (c *Client) CreateKeygroup(kg string) error
- func (c *Client) Delete(kg string, id string, vvector vclock.VClock) error
- func (c *Client) DeleteKeygroup(kg string) error
- func (c *Client) DeleteKeygroupTrigger(kg string, id string) error
- func (c *Client) Destroy()
- func (c *Client) Exists(kg string, id string) bool
- func (c *Client) ExistsKeygroup(kg string) bool
- func (c *Client) GetKeygroupTrigger(kg string) (map[string]string, error)
- func (c *Client) IDs(kg string) ([]string, error)
- func (c *Client) Read(kg, id string) ([]string, []vclock.VClock, bool, error)
- func (c *Client) ReadAll(kg string) ([]string, []string, []vclock.VClock, error)
- func (c *Client) ReadSome(kg, id string, count uint64) ([]string, []string, []vclock.VClock, error)
- func (c *Client) Update(kg string, id string, val string, expiry int, vvector vclock.VClock) error
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 to a grpc server
func (*Client) AddKeygroupTrigger ¶
AddKeygroupTrigger calls the same method on the remote server.
func (*Client) CreateKeygroup ¶
CreateKeygroup calls the same method on the remote server
func (*Client) DeleteKeygroup ¶
DeleteKeygroup calls the same method on the remote server
func (*Client) DeleteKeygroupTrigger ¶
DeleteKeygroupTrigger calls the same method on the remote server.
func (*Client) ExistsKeygroup ¶
ExistsKeygroup calls the same method on the remote server.
func (*Client) GetKeygroupTrigger ¶
GetKeygroupTrigger calls the same method on the remote server.
Click to show internal directories.
Click to hide internal directories.