实现请求日志写入

This commit is contained in:
刘祥超
2020-10-10 11:47:53 +08:00
parent 6f4992561f
commit c5884cb6d8
4 changed files with 233 additions and 6 deletions

View File

@@ -52,6 +52,10 @@ func (this *RPCClient) NodeLogRPC() pb.NodeLogServiceClient {
return pb.NewNodeLogServiceClient(this.pickConn())
}
func (this *RPCClient) HTTPAccessLogRPC() pb.HTTPAccessLogServiceClient {
return pb.NewHTTPAccessLogServiceClient(this.pickConn())
}
func (this *RPCClient) Context() context.Context {
ctx := context.Background()
m := maps.Map{