memcache551

package module
v0.0.0-...-608b50e Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2016 License: MIT Imports: 4 Imported by: 2

README

memcache551

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host    string `json:"host"`
	Prefix  string `json:"prefix"`
	Expires int32  `json:"expires"`
}

type Memcache

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

func New

func New(config *Config, sid string) *Memcache

func (*Memcache) Delete

func (m *Memcache) Delete(name string)

func (*Memcache) Get

func (m *Memcache) Get(name string) interface{}

func (*Memcache) GetModel

func (m *Memcache) GetModel(name string, model interface{})

func (*Memcache) Set

func (m *Memcache) Set(name string, value interface{})

Jump to

Keyboard shortcuts

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