Documentation ¶
Index ¶
- func IsNil(err error) bool
- type Access
- type Client
- func (c *Client) Create(key string, value interface{}, ttl time.Duration) error
- func (c *Client) Delete(key string) error
- func (c *Client) Get(key string, data interface{}) error
- func (c *Client) Health() error
- func (c *Client) List(pattern string, data interface{}) (map[string]string, error)
- func (c *Client) Publish(channel string, message interface{}) error
- func (c *Client) Subscribe(channel string, f func(d []byte) bool) error
- type Config
- type PrefixKey
- type Timeout
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
Client struct
Click to show internal directories.
Click to hide internal directories.