Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultSocks5Port = 1080
)
View Source
const EnvSkipProxy = "NB_NETSTACK_SKIP_PROXY"
View Source
const EnvUseNetstackMode = "NB_USE_NETSTACK_MODE"
Variables ¶
This section is empty.
Functions ¶
func ListenAddr ¶
func ListenAddr() string
Types ¶
type NSDialer ¶
type NSDialer struct {
// contains filtered or unexported fields
}
func NewNSDialer ¶
type NetStackTun ¶
type NetStackTun struct {
// contains filtered or unexported fields
}
func NewNetStackTun ¶
func (*NetStackTun) Close ¶
func (t *NetStackTun) Close() error
Click to show internal directories.
Click to hide internal directories.