Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Has(key string) bool Get(key string) (interface{}, bool) Set(key string, v interface{}, ttl time.Duration) error Add(key string, v interface{}, ttl time.Duration) (bool, error) Remove(key string) error GetOrSet(key string, getter func() (interface{}, error), ttl time.Duration) (interface{}, error) Clear() error }
Click to show internal directories.
Click to hide internal directories.