MCPcopy Create free account
hub / github.com/golang/groupcache / fakePeer

Struct fakePeer

groupcache_test.go:229–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229type fakePeer struct {
230 hits int
231 fail bool
232}
233
234func (p *fakePeer) Get(_ context.Context, in *pb.GetRequest, out *pb.GetResponse) error {
235 p.hits++

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected