v1

package
v0.0.0-...-5e0bfd6 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODULE_NAME = "cache_engine/radix/v1"
)

Variables

This section is empty.

Functions

func Generator

func Generator() lib.CacheEngine

func NewCacheEngine

func NewCacheEngine() lib.CacheEngine

Types

type CacheEngine

type CacheEngine struct {
	lib.CacheEngine
	// contains filtered or unexported fields
}

func (*CacheEngine) Close

func (ce *CacheEngine) Close() error

func (*CacheEngine) ExportConfig

func (ce *CacheEngine) ExportConfig() ([]byte, error)

func (*CacheEngine) ImportConfig

func (ce *CacheEngine) ImportConfig(raw []byte) error

func (*CacheEngine) Initialize

func (ce *CacheEngine) Initialize() error

func (*CacheEngine) IoC

func (ce *CacheEngine) IoC() lib.IoC

func (*CacheEngine) ModuleName

func (ce *CacheEngine) ModuleName() string

func (*CacheEngine) SetIoC

func (ce *CacheEngine) SetIoC(ioc lib.IoC)

func (*CacheEngine) Upsert

func (ce *CacheEngine) Upsert(cache models.Cache) error

type Config

type Config struct {
	Host               string
	Port               int
	Database           string
	Password           string
	ConnectionPoolSize int
}

func NewConfig

func NewConfig() *Config

Jump to

Keyboard shortcuts

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