commit | 797efe68fa4ccfbf1ed4b3c763a328738781c2ed | [log] [tgz] |
---|---|---|
author | Kenny Shen <kenny@machinesung.com> | Thu Oct 27 07:22:25 2016 |
committer | Kenny Shen <kenny@machinesung.com> | Thu Oct 27 08:09:26 2016 |
tree | f1333501f74fa25e90a9be3c428b098f23766a8c | |
parent | fb1f79c6b65acda83063cbc69f6bba1522558bfc [diff] |
Allow unicode keys
This is a memcache client library for the Go programming language (http://golang.org/).
$ go get github.com/bradfitz/gomemcache/memcache
After this command gomemcache is ready to use. Its source will be in:
$GOPATH/src/github.com/bradfitz/gomemcache/memcache
import ( "github.com/bradfitz/gomemcache/memcache" ) func main() { mc := memcache.New("10.0.0.1:11211", "10.0.0.2:11211", "10.0.0.3:11212") mc.Set(&memcache.Item{Key: "foo", Value: []byte("my value")}) it, err := mc.Get("foo") ... }
See https://godoc.org/github.com/bradfitz/gomemcache/memcache
Or run:
$ godoc github.com/bradfitz/gomemcache/memcache