mcClient

package module
v0.0.0-...-a5c7d9f Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2014 License: GPL-2.0 Imports: 4 Imported by: 0

README

mcClient

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGobMCClient

func NewGobMCClient(keyPrefix string, host ...string) *gobMCClient

如果共享mc,需要保证keyPrefix不同

Types

type MC

type MC interface {
	GetString(key string) (val string, err error)
	SetString(key string, val string) (err error)
	Get(key string, val interface{}) (err error)
	Set(key string, val interface{}) (err error)
	Delete(key string) (err error)
}

Jump to

Keyboard shortcuts

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