refactor: separate API handlers into dedicated packages with improved HTTP utilities (#5127)

This commit is contained in:
fatedier
2026-01-14 19:50:55 +08:00
committed by GitHub
parent 3370bd53f5
commit ed13141c56
15 changed files with 985 additions and 791 deletions

View File

@@ -40,6 +40,7 @@ import (
"github.com/fatedier/frp/server/controller"
"github.com/fatedier/frp/server/metrics"
"github.com/fatedier/frp/server/proxy"
"github.com/fatedier/frp/server/registry"
)
type ControlManager struct {
@@ -147,7 +148,7 @@ type Control struct {
// Server configuration information
serverCfg *v1.ServerConfig
clientRegistry *ClientRegistry
clientRegistry *registry.ClientRegistry
xl *xlog.Logger
ctx context.Context