实现基础的IP地址阈值

This commit is contained in:
GoEdgeLab
2021-09-12 20:21:42 +08:00
parent dc7d0bd531
commit a0fbd3d831
15 changed files with 616 additions and 100 deletions

View File

@@ -53,6 +53,11 @@ func (this *APINode) registerServices(server *grpc.Server) {
pb.RegisterNodeIPAddressLogServiceServer(server, instance)
this.rest(instance)
}
{
instance := this.serviceInstance(&services.NodeIPAddressThresholdService{}).(*services.NodeIPAddressThresholdService)
pb.RegisterNodeIPAddressThresholdServiceServer(server, instance)
this.rest(instance)
}
{
instance := this.serviceInstance(&services.APINodeService{}).(*services.APINodeService)
pb.RegisterAPINodeServiceServer(server, instance)