Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { Read(string) interface{} Write(string, interface{}, time.Duration) error Delete(string) Clear() }
Cache is an interface for caches
type GoCache ¶
type GoCache struct {
cache.Cache
}
func NewGoCache ¶
NewGoCache creates a new GoCache.
Click to show internal directories.
Click to hide internal directories.