域名服务增加访问日志

This commit is contained in:
GoEdgeLab
2021-06-02 11:53:08 +08:00
parent 35cc12cdb8
commit 949a20f684
25 changed files with 577 additions and 35 deletions

View File

@@ -372,6 +372,10 @@ func (this *RPCClient) NSRouteRPC() pb.NSRouteServiceClient {
return pb.NewNSRouteServiceClient(this.pickConn())
}
func (this *RPCClient) NSAccessLogRPC() pb.NSAccessLogServiceClient {
return pb.NewNSAccessLogServiceClient(this.pickConn())
}
// Context 构造Admin上下文
func (this *RPCClient) Context(adminId int64) context.Context {
ctx := context.Background()