Documentation ¶
Index ¶
- func Deserialize(inp []byte, obj interface{}) error
- func Serialize(obj interface{}) ([]byte, error)
- type Client
- func (c *Client) Close() error
- func (c *Client) Del(key string) error
- func (c *Client) DelAll() error
- func (c *Client) Get(key string) ([]byte, bool)
- func (c *Client) Has(key string) bool
- func (c *Client) Open() error
- func (c *Client) Set(key string, val []byte, ttl int) error
- func (c *Client) Size() (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deserialize ¶
Deserialize decodes recieved gob encoded data and writes to input object by reference
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client holds client connection
Click to show internal directories.
Click to hide internal directories.