| commit | 8d39553ac7cf4c2a6857f3dc3751550176884755 | [log] [tgz] |
|---|---|---|
| author | Brad Fitzpatrick <brad@danga.com> | Thu Apr 03 21:51:46 2025 |
| committer | Brad Fitzpatrick <brad@danga.com> | Thu Apr 03 21:51:59 2025 |
| tree | a717d3e78993f7c5a6140bb65aca7fdaf76aba52 | |
| parent | 4536b832ac7193c7ed5386940292fd47b4da3d3d [diff] |
memcache: rename Mutex name to conventional 'mu' name Signed-off-by: Brad Fitzpatrick <brad@danga.com>
This is a memcache client library for the Go programming language (http://golang.org/).
Install with:
$ go get github.com/bradfitz/gomemcache/memcache
Then use it like:
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://pkg.go.dev/github.com/bradfitz/gomemcache/memcache
Or run:
$ godoc github.com/bradfitz/gomemcache/memcache