Documentation ¶
Index ¶
- Constants
- func AllAsType[T interface{}](all []interface{}) ([]T, error)
- func DefaultAddress() string
- type Client
- func (c *Client) Delete(key Key) error
- func (c *Client) Get(key Key, value interface{}) (bool, error)
- func (c *Client) GetAll(key Key, value interface{}) ([]interface{}, error)
- func (c *Client) Set(key Key, value interface{}, ttl time.Duration) error
- func (c *Client) SetNoTtl(key Key, value interface{}, ttl time.Duration) error
- type Key
Constants ¶
View Source
const ( DefaultHost = "localhost" DefaultPort = 6379 )
Variables ¶
This section is empty.
Functions ¶
func DefaultAddress ¶
func DefaultAddress() string
Types ¶
Click to show internal directories.
Click to hide internal directories.