Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheClient ¶
type CacheClient interface { Get(key string, v interface{}) (bool, error) Set(key string, expiration int, v interface{}) error Delete(key string) error FlushAll() error }
func Get ¶
func Get(config map[string]interface{}) (CacheClient, error)
type NoopClient ¶
type NoopClient struct { }
func (*NoopClient) Delete ¶
func (np *NoopClient) Delete(key string) error
func (*NoopClient) FlushAll ¶
func (np *NoopClient) FlushAll() error
Click to show internal directories.
Click to hide internal directories.