Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDevice stack.LinkEndpoint
View Source
var DefaultTunnel = tunnel{}
Functions ¶
Types ¶
type MogoHysteria ¶
type MogoHysteria struct { IP string // contains filtered or unexported fields }
func StartTunnel ¶
func StartTunnel(flow PacketFlow, cfg *HyConfig) (*MogoHysteria, error)
func (*MogoHysteria) HandleTCP ¶
func (mhy *MogoHysteria) HandleTCP(conn adapter.TCPConn)
func (*MogoHysteria) HandleUDP ¶
func (mhy *MogoHysteria) HandleUDP(conn adapter.UDPConn)
func (*MogoHysteria) StopTunnel ¶
func (mhy *MogoHysteria) StopTunnel() error
type PacketFlow ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.