Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/bradfitz/gomemcache
/ Serve
Method
Serve
memcache/fakeserver_test.go:47–56 ·
view source on GitHub ↗
(l net.Listener)
Source
from the content-addressed store, hash-verified
45
}
46
47
func
(s *testServer) Serve(l net.Listener) {
48
for
{
49
c, err := l.Accept()
50
if
err != nil {
51
return
52
}
53
tc := &testConn{s: s, c: c}
54
go
tc.serve()
55
}
56
}
57
58
type
testConn
struct
{
59
s *testServer
Callers
1
TestFakeServer
Function · 0.95
Calls
1
serve
Method · 0.95
Tested by
no test coverage detected