增加API方法调用耗时统计

This commit is contained in:
刘祥超
2022-01-19 16:53:38 +08:00
parent 79e52d1c6e
commit 65d19d92e9
6 changed files with 142 additions and 3 deletions

View File

@@ -161,6 +161,10 @@ func (this *RPCClient) APINodeRPC() pb.APINodeServiceClient {
return pb.NewAPINodeServiceClient(this.pickConn())
}
func (this *RPCClient) APIMethodStatRPC() pb.APIMethodStatServiceClient {
return pb.NewAPIMethodStatServiceClient(this.pickConn())
}
func (this *RPCClient) UserNodeRPC() pb.UserNodeServiceClient {
return pb.NewUserNodeServiceClient(this.pickConn())
}