cache

package
v0.0.0-...-48972bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 New

func New(redisStore bool, expire int64) *Cache

func (*Cache) InitRedisCache

func (c *Cache) InitRedisCache(dial, pswd string, db, connections int)

func (*Cache) SetExNx

func (c *Cache) SetExNx(key string, value []byte) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL