mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-01 14:43:07 +02:00
feat: debug api
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"sync"
|
||||
|
||||
"github.com/yusing/go-proxy/internal/api/v1/auth"
|
||||
debugapi "github.com/yusing/go-proxy/internal/api/v1/debug"
|
||||
"github.com/yusing/go-proxy/internal/api/v1/query"
|
||||
"github.com/yusing/go-proxy/internal/common"
|
||||
"github.com/yusing/go-proxy/internal/config"
|
||||
@@ -146,6 +147,8 @@ func main() {
|
||||
uptime.Poller.Start()
|
||||
config.WatchChanges()
|
||||
|
||||
debugapi.StartServer(cfg)
|
||||
|
||||
task.WaitExit(cfg.Value().TimeoutShutdown)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user