MCPcopy
hub / github.com/dropbox/godropbox / ExampleRawBinaryClient

Function ExampleRawBinaryClient

memcache/example_test.go:12–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10)
11
12func ExampleRawBinaryClient() {
13 conn, _ := net.Dial("tcp", "localhost:11211")
14
15 client := memcache.NewRawBinaryClient(0, conn)
16
17 clientExample(client)
18}
19
20func ExampleRawAsciiClient() {
21 conn, _ := net.Dial("tcp", "localhost:11211")

Callers

nothing calls this directly

Calls 3

NewRawBinaryClientFunction · 0.92
clientExampleFunction · 0.85
DialMethod · 0.80

Tested by

no test coverage detected