Documentation ¶
Index ¶
- type Client
- func (c *Client) AddKeygroupTrigger(kg string, id string, host string) error
- func (c *Client) Append(kg string, val string, expiry int) (string, error)
- func (c *Client) Close() error
- func (c *Client) CreateKeygroup(kg string) error
- func (c *Client) Delete(kg string, id string) 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 string, id string) (string, error)
- func (c *Client) ReadAll(kg string) (map[string]string, error)
- func (c *Client) ReadSome(kg string, id string, count uint64) (map[string]string, error)
- func (c *Client) Update(kg string, id string, val string, append bool, expiry int) 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.