MCPcopy Index your code
hub / github.com/CodisLabs/codis / openProxy

Function openProxy

pkg/proxy/proxy_test.go:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func openProxy() (*Proxy, string) {
30 s, err := New(config)
31 assert.MustNoError(err)
32 return s, s.Model().AdminAddr
33}
34
35func TestModel(x *testing.T) {
36 s, addr := openProxy()

Callers 4

TestModelFunction · 0.70
TestStatsFunction · 0.70
TestFillSlotFunction · 0.70
TestStartAndShutdownFunction · 0.70

Calls 2

NewFunction · 0.70
ModelMethod · 0.45

Tested by

no test coverage detected