Documentation
¶
Index ¶
- func New(config map[string]interface{}) (interface{}, error)
- type Client
- func (c *Client) Add(key string, value interface{}, expires ...time.Duration) bool
- func (c *Client) Del(key string) bool
- func (c *Client) Exists(key string) bool
- func (c *Client) Get(key string) *value.Value
- func (c *Client) Incr(key string, delta int) int
- func (c *Client) Init() error
- func (c *Client) MAdd(items map[string]interface{}, expires ...time.Duration) bool
- func (c *Client) MDel(keys []string) bool
- func (c *Client) MGet(keys []string) map[string]*value.Value
- func (c *Client) MSet(items map[string]interface{}, expires ...time.Duration) bool
- func (c *Client) Set(key string, value interface{}, expires ...time.Duration) bool
- func (c *Client) SetGcInterval(v string) error
- func (c *Client) SetGcMaxItems(gcMaxItems int)
- func (c *Client) SetLogger(logger logs.ILogger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.