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

Function ExampleRawAsciiClient

memcache/example_test.go:20–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20func ExampleRawAsciiClient() {
21 conn, _ := net.Dial("tcp", "localhost:11211")
22
23 client := memcache.NewRawAsciiClient(0, conn)
24
25 clientExample(client)
26}
27
28func ExampleShardedClient() {
29 options := net2.ConnectionOptions{

Callers

nothing calls this directly

Calls 3

NewRawAsciiClientFunction · 0.92
clientExampleFunction · 0.85
DialMethod · 0.80

Tested by

no test coverage detected