Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { // Get returns the value from given key. Get(key string) (interface{}, error) // Set sets the key,value to cache. Set(key string, value interface{}) error // Delete deletes the key from cache. Delete(key string) error }
Cache provides list of standard's cache functions.
type Config ¶
Config provides list of cache's vendor that can be used. It will prioritize from top to bottom and only choose one.
type KodingLFU ¶
type KodingLFU struct { Size int // contains filtered or unexported fields }
KodingLFU is config for koding's cache LFU.
type KodingLRU ¶
type KodingLRU struct { Size int // contains filtered or unexported fields }
KodingLRU is config for koding's cache LRU.
Click to show internal directories.
Click to hide internal directories.