MCPcopy Create free account
hub / github.com/33cn/chain33 / getAPI

Method getAPI

client/mock_system_test.go:192–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190}
191
192func (mock *mockSystem) getAPI() client.QueueProtocolAPI {
193 api, _ := client.New(mock.q.Client(), nil)
194 return api
195}
196
197type mockJRPCSystem struct {
198 japi *rpc.JSONRPCServer

Callers 1

startupMethod · 0.95

Calls 2

NewFunction · 0.92
ClientMethod · 0.65

Tested by

no test coverage detected