Documentation ¶ Index ¶ func EnableCaching(validatiy time.Duration, resetCache bool) func Flush() error func Get(context string, key string) []string func Get0(context string, key string) string func Put(context string, key string, values []string) func Put0(context string, key string, value string) type Provider Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func EnableCaching ¶ func EnableCaching(validatiy time.Duration, resetCache bool) func Flush ¶ func Flush() error func Get ¶ func Get(context string, key string) []string func Get0 ¶ func Get0(context string, key string) string func Put ¶ func Put(context string, key string, values []string) func Put0 ¶ func Put0(context string, key string, value string) Types ¶ type Provider ¶ type Provider interface { Get(key string) []string Put(key string, values []string, validity time.Duration) Flush() error } Source Files ¶ View all Source files cache.go Click to show internal directories. Click to hide internal directories.