Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
192
func
(mock *mockSystem) getAPI() client.QueueProtocolAPI {
193
api, _ := client.New(mock.q.Client(), nil)
194
return
api
195
}
196
197
type
mockJRPCSystem
struct
{
198
japi *rpc.JSONRPCServer
Callers
1
startup
Method · 0.95
Calls
2
New
Function · 0.92
Client
Method · 0.65
Tested by
no test coverage detected