Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheImpl ¶
type CacheImpl interface { Get(key string) (value interface{}, resultType ResultType, err error) GetWithExpiration(key string) (value interface{}, resultType ResultType, exp time.Duration, err error) Set(key string, value interface{}, exp time.Duration) (err error) Remove(key string) error Reset() error Close() error }
type ResultType ¶
type ResultType = string
const ExactlyAsSet ResultType = "exactlyAsSet"
const Generic ResultType = "generic"
const JsonByteArray ResultType = "jsonByteArray"
Click to show internal directories.
Click to hide internal directories.