feat: 初步重构
This commit is contained in:
1 parent
1250041389
commit
1735981217
67 files changed
+2646
-2243
No files matched your search
@@ -12,6 +12,7 @@ import (
|
||||
"one-api/controller"
|
||||
"one-api/middleware"
|
||||
"one-api/model"
|
||||
"one-api/relay/common"
|
||||
"one-api/router"
|
||||
"os"
|
||||
"strconv"
|
||||
@@ -105,7 +106,7 @@ func main() {
|
||||
common.SysLog("pprof enabled")
|
||||
}
|
||||
|
||||
controller.InitTokenEncoders()
|
||||
common.InitTokenEncoders()
|
||||
|
||||
// Initialize HTTP server
|
||||
server := gin.New()
|
||||
|
||||
Reference in new issue
Block a user