[统计]记录流量(以5分钟作为间隔)

This commit is contained in:
刘祥超
2020-12-11 17:27:35 +08:00
parent bdd26a8c41
commit 0e312f6707
7 changed files with 168 additions and 4 deletions

View File

@@ -93,6 +93,10 @@ func (this *RPCClient) ACMEAuthenticationRPC() pb.ACMEAuthenticationServiceClien
return pb.NewACMEAuthenticationServiceClient(this.pickConn())
}
func (this *RPCClient) ServerDailyStatRPC() pb.ServerDailyStatServiceClient {
return pb.NewServerDailyStatServiceClient(this.pickConn())
}
// 节点上下文信息
func (this *RPCClient) Context() context.Context {
ctx := context.Background()