Documentation ¶
Index ¶
Constants ¶
View Source
const (
UserPassAuth = uint8(2)
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sock5ModeServer ¶
type Sock5ModeServer struct {
// contains filtered or unexported fields
}
func NewSock5ModeServer ¶
func NewSock5ModeServer(bridge *bridge.Bridge, task *file.Tunnel) *Sock5ModeServer
new
func (*Sock5ModeServer) FlowAddHost ¶
type TunnelModeServer ¶
type TunnelModeServer struct {
// contains filtered or unexported fields
}
func NewTunnelModeServer ¶
func NewTunnelModeServer(process process, bridge *bridge.Bridge, task *file.Tunnel) *TunnelModeServer
tcp|http|host
func (*TunnelModeServer) FlowAddHost ¶
type UdpModeServer ¶
type UdpModeServer struct {
// contains filtered or unexported fields
}
func NewUdpModeServer ¶
func NewUdpModeServer(bridge *bridge.Bridge, task *file.Tunnel) *UdpModeServer
func (*UdpModeServer) Close ¶
func (s *UdpModeServer) Close() error
func (*UdpModeServer) FlowAddHost ¶
type WebServer ¶
type WebServer struct {
// contains filtered or unexported fields
}
web管理方式
func (*WebServer) FlowAddHost ¶
Click to show internal directories.
Click to hide internal directories.