commit | 24af94b0387418c51cc45a2e1fe6d4d1bef8a0fd | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <brad@danga.com> | Tue Sep 05 02:41:31 2023 |
committer | Brad Fitzpatrick <brad@danga.com> | Tue Sep 05 02:49:40 2023 |
tree | 9317349d34ba6e48ddc1270fd3bc2f00636dfaad | |
parent | 21f1bbe2b5f62d6694ba221ecb4a5f65b6564568 [diff] |
add TLS integration test, update Client.DialContext docs Turns out we already have the necessary hook (DialContext), which was added in #158. Updates #121 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