memcached

package
v0.0.0-...-2b6b123 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sha256Key

func Sha256Key(key string) string

Types

type MemcachedClient

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

func Init

func Init(config map[string]interface{}) (*MemcachedClient, error)

func (*MemcachedClient) Delete

func (mc *MemcachedClient) Delete(key string) error

func (*MemcachedClient) FlushAll

func (mc *MemcachedClient) FlushAll() error

func (*MemcachedClient) Get

func (mc *MemcachedClient) Get(key string, v interface{}) (bool, error)

func (*MemcachedClient) Set

func (mc *MemcachedClient) Set(key string, expiration int, v interface{}) error

Jump to

Keyboard shortcuts

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