Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context struct {
SrcURL, DstURL *url.URL
XConfig *xconn.Config
Dialer *client.Dialer
HTTPHandler map[string]http.HandlerFunc
TunnelDeviceTable map[string]*tuntable.PeerTable
TunnelTracker TunnelTrackerFunc
IdleUDPTimeout time.Duration
EnableGROOptimization bool
// For Android library
Device tun.Device
}
func NewContext ¶
func (*Context) CreateListener ¶
Click to show internal directories.
Click to hide internal directories.