Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { Get(key string) (interface{}, bool) Set(key string, value interface{}) SetWithTTL(key string, value interface{}, ttl time.Duration) Delete(key string) Flush() }
func NewMemoryCache ¶
func NewMemoryCache() Cache
func NewNoopCache ¶
func NewNoopCache() Cache
Click to show internal directories.
Click to hide internal directories.