Documentation ¶ Index ¶ type Client func NewClient(id uint32, namespace string, cfg config.Config) *Client func (c *Client) Connect() error func (c *Client) Disconnect() func (c *Client) Get(name string) ([]byte, error) func (c *Client) Put(name string, data []byte, freshness uint64) 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 } func NewClient ¶ func NewClient(id uint32, namespace string, cfg config.Config) *Client func (*Client) Connect ¶ func (c *Client) Connect() error func (*Client) Disconnect ¶ func (c *Client) Disconnect() func (*Client) Get ¶ func (c *Client) Get(name string) ([]byte, error) func (*Client) Put ¶ func (c *Client) Put(name string, data []byte, freshness uint64) error Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.