删除不必要的文件

This commit is contained in:
GoEdgeLab
2022-08-09 17:35:35 +08:00
parent 146c09f4da
commit e13b2105f6
22 changed files with 20 additions and 1406 deletions

View File

@@ -5,7 +5,6 @@ import (
"crypto/tls"
"encoding/json"
"errors"
"github.com/TeaOSLab/EdgeAPI/internal/accesslogs"
"github.com/TeaOSLab/EdgeAPI/internal/configs"
teaconst "github.com/TeaOSLab/EdgeAPI/internal/const"
"github.com/TeaOSLab/EdgeAPI/internal/db/models"
@@ -159,9 +158,7 @@ func (this *APINode) Start() {
})
// 访问日志存储管理器
goman.New(func() {
accesslogs.SharedStorageManager.Start()
})
this.startAccessLogStorages()
// 监听RPC服务
remotelogs.Println("API_NODE", "starting RPC server ...")

View File

@@ -0,0 +1,8 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
//go:build !plus
package nodes
func (this *APINode) startAccessLogStorages() {
}

View File

@@ -102,11 +102,6 @@ func (this *APINode) registerServices(server *grpc.Server) {
pb.RegisterHTTPPageServiceServer(server, instance)
this.rest(instance)
}
{
var instance = this.serviceInstance(&services.HTTPAccessLogPolicyService{}).(*services.HTTPAccessLogPolicyService)
pb.RegisterHTTPAccessLogPolicyServiceServer(server, instance)
this.rest(instance)
}
{
var instance = this.serviceInstance(&services.HTTPCachePolicyService{}).(*services.HTTPCachePolicyService)
pb.RegisterHTTPCachePolicyServiceServer(server, instance)