cache

package
Version: v0.0.0-...-40d3858 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheManager

type CacheManager struct {
	// contains filtered or unexported fields
}

func CacheMgr

func CacheMgr() *CacheManager

func (*CacheManager) Conn

func (cacheMgr *CacheManager) Conn() (*redis.Client, error)

获取缓存连接

func (*CacheManager) Init

func (cacheMgr *CacheManager) Init(cacheConfig cache_conf.RedisConfig) error

初始化缓存配置文件

Source Files

Jump to

Keyboard shortcuts

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