Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultSocks5Port = 1080
)
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 NewNetStackTun(listenAddress string, address string, mtu int) *NetStackTun
func (*NetStackTun) Close ¶
func (t *NetStackTun) Close() error
Click to show internal directories.
Click to hide internal directories.