Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemcachedCache ¶
func NewMemcachedCache(server string) *memcached
Types ¶
type Methods ¶
type Methods interface { Set(key string, value interface{}, ttl time.Duration) error Get(key string) (interface{}, error) Delete(key string) error Clear() }
func NewInMemoryCache ¶
func NewRedisCache ¶
func NewRedisCache(opt *RedisOptions) Methods
type RedisOptions ¶
Click to show internal directories.
Click to hide internal directories.