Fix: dir ems.agt change to be.ems

This commit is contained in:
2024-03-06 21:00:42 +08:00
parent bf3b97c788
commit 26e9f29241
331 changed files with 1266 additions and 1266 deletions

View File

@@ -5,8 +5,8 @@ import (
"os"
"strings"
"ems.agt/lib/global"
"ems.agt/lib/log"
"be.ems/lib/global"
"be.ems/lib/log"
"gopkg.in/yaml.v3"
)

View File

@@ -6,7 +6,7 @@ import (
"gopkg.in/yaml.v3"
"ems.agt/lib/global"
"be.ems/lib/global"
)
type Uri2Object struct {

View File

@@ -3,7 +3,7 @@
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
logger:
file: d:/local.git/ems.agt/restagent/log/restagent-t.log
file: d:/local.git/be.ems/restagent/log/restagent-t.log
level: trace
duration: 24
count: 2
@@ -25,7 +25,7 @@ database:
host: 127.0.0.1
port: 33066
name: omc_db
backup: d:/local.git/ems.agt/restagent/database
backup: d:/local.git/be.ems/restagent/database
# Redis 缓存数据,数据源声明全小写
redis:

View File

@@ -3,7 +3,7 @@
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
logger:
file: d:/local.git/ems.agt/restagent/log/restagent.log
file: d:/local.git/be.ems/restagent/log/restagent.log
level: trace
duration: 24
count: 2
@@ -45,7 +45,7 @@ database:
host: 127.0.0.1
port: 33066
name: omc_db
backup: d:/local.git/ems.agt/restagent/database
backup: d:/local.git/be.ems/restagent/database
# Redis 缓存数据,数据源声明全小写
redis:

View File

@@ -9,7 +9,7 @@ DEBBUILDDIR = ../../debbuild
RPMBUILDDIR = $(HOME)/goprojects/rpmbuild
INSTALLDIR = /usr/local/omc
RELEASEDIR = ../../release
LIBDIR = ems.agt/lib
LIBDIR = be.ems/lib
BINNAME = restagent
.PHONY: build $(BINNAME)

View File

@@ -9,19 +9,19 @@ import (
"strconv"
"strings"
"ems.agt/features/dbrest"
"ems.agt/features/event"
"ems.agt/features/fm"
"ems.agt/features/lm"
"ems.agt/features/pm"
"ems.agt/lib/dborm"
"ems.agt/lib/global"
"ems.agt/lib/log"
"ems.agt/lib/routes"
"ems.agt/restagent/config"
"ems.agt/src"
"ems.agt/src/framework/middleware"
libSession "ems.agt/src/lib_features/session"
"be.ems/features/dbrest"
"be.ems/features/event"
"be.ems/features/fm"
"be.ems/features/lm"
"be.ems/features/pm"
"be.ems/lib/dborm"
"be.ems/lib/global"
"be.ems/lib/log"
"be.ems/lib/routes"
"be.ems/restagent/config"
"be.ems/src"
"be.ems/src/framework/middleware"
libSession "be.ems/src/lib_features/session"
"github.com/gin-gonic/gin"
"golang.org/x/net/http2"
"golang.org/x/net/http2/h2c"