Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisFetcher ¶
type RedisFetcher interface { SetKey(prefixes []string, usedHash bool, elements ...string) Fetch(expiration time.Duration, dst interface{}, fetcher interface{}) (interface{}, error) SetVal(value interface{}, expiration time.Duration) error GetString() (string, error) GetVal(dst interface{}) (interface{}, error) DelVal() error Key() string IsCached() bool }
func NewRedisFetcher ¶
func NewRedisFetcher(client Client, options *Options) RedisFetcher
type SimpleClientImpl ¶
func (*SimpleClientImpl) Del ¶
func (i *SimpleClientImpl) Del(key string) error
func (*SimpleClientImpl) Get ¶
func (i *SimpleClientImpl) Get(key string, dst interface{}) error
Click to show internal directories.
Click to hide internal directories.