Documentation ¶ Index ¶ type Cache func NewCache(ip string, port string, prefix string) *Cache func (c *Cache) ClearAll() error func (c *Cache) GET(tag string, key string) (string, error) func (c *Cache) SETNX(tag string, key string, value string, t int) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Cache ¶ type Cache struct { // contains filtered or unexported fields } func NewCache ¶ func NewCache(ip string, port string, prefix string) *Cache func (*Cache) ClearAll ¶ func (c *Cache) ClearAll() error func (*Cache) GET ¶ func (c *Cache) GET(tag string, key string) (string, error) func (*Cache) SETNX ¶ func (c *Cache) SETNX(tag string, key string, value string, t int) error Source Files ¶ View all Source files cache.go Click to show internal directories. Click to hide internal directories.