Server manager support the NewUserConn operation (#1740)

support NewUserConn operation
This commit is contained in:
zhang-wei
2020-04-16 13:06:46 +08:00
committed by GitHub
parent 1c330185c4
commit ad0c449a75
9 changed files with 166 additions and 4 deletions

View File

@ -16,6 +16,7 @@ package controller
import (
"github.com/fatedier/frp/models/nathole"
plugin "github.com/fatedier/frp/models/plugin/server"
"github.com/fatedier/frp/server/group"
"github.com/fatedier/frp/server/ports"
"github.com/fatedier/frp/utils/tcpmux"
@ -50,4 +51,7 @@ type ResourceController struct {
// TcpMux HTTP CONNECT multiplexer
TcpMuxHttpConnectMuxer *tcpmux.HttpConnectTcpMuxer
// All server manager plugin
PluginManager *plugin.Manager
}