feat: ent ORM, admin UI, client auth, Fyne GUI, Windows/MSI packaging

This commit is contained in:
kannn
2026-05-29 08:58:22 +00:00
Unverified
parent 8563a5fc74
commit a0a42a4966
81 changed files with 17144 additions and 89 deletions
+5
View File
@@ -49,6 +49,7 @@ import (
"github.com/fatedier/frp/pkg/util/version"
"github.com/fatedier/frp/pkg/util/vhost"
"github.com/fatedier/frp/pkg/util/xlog"
"github.com/fatedier/frp/server/admin"
"github.com/fatedier/frp/server/controller"
"github.com/fatedier/frp/server/group"
"github.com/fatedier/frp/server/metrics"
@@ -127,6 +128,9 @@ type Service struct {
cfg *v1.ServerConfig
// admin web handler
adminHandler *admin.Handler
// service context
ctx context.Context
// call cancel to stop service
@@ -180,6 +184,7 @@ func NewService(cfg *v1.ServerConfig) (*Service, error) {
ctx: context.Background(),
}
if webServer != nil {
svr.adminHandler = admin.NewHandler()
webServer.RouteRegister(svr.registerRouteHandlers)
}