Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceController ¶
type ResourceController struct { // Manage all visitor listeners VisitorManager *VisitorManager // Tcp Group Controller TcpGroupCtl *group.TcpGroupCtl // HTTP Group Controller HTTPGroupCtl *group.HTTPGroupController // Manage all tcp ports TcpPortManager *ports.PortManager // Manage all udp ports UdpPortManager *ports.PortManager // For http proxies, forwarding http requests HttpReverseProxy *vhost.HttpReverseProxy // For https proxies, route requests to different clients by hostname and other information VhostHttpsMuxer *vhost.HttpsMuxer // Controller for nat hole connections NatHoleController *nathole.NatHoleController // TcpMux HTTP CONNECT multiplexer TcpMuxHttpConnectMuxer *tcpmux.HttpConnectTcpMuxer }
All resource managers and controllers
type VisitorManager ¶
type VisitorManager struct {
// contains filtered or unexported fields
}
Manager for visitor listeners.
func NewVisitorManager ¶
func NewVisitorManager() *VisitorManager
func (*VisitorManager) CloseListener ¶
func (vm *VisitorManager) CloseListener(name string)
func (*VisitorManager) Listen ¶
func (vm *VisitorManager) Listen(name string, sk string) (l *frpNet.CustomListener, err error)
Click to show internal directories.
Click to hide internal directories.