cache

package
v0.0.0-...-32ae133 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memcached

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

func NewMemcached

func NewMemcached(opt OptionsMemcached) *Memcached

func (*Memcached) Get

func (m *Memcached) Get(key string) ([]byte, error)

func (*Memcached) Set

func (m *Memcached) Set(key string, data []byte) error

type OptionsMemcached

type OptionsMemcached struct {
	Server    []string
	PrefixKey string
}

Jump to

Keyboard shortcuts

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