Documentation
¶
Index ¶
- type Dialer
- type DomainUDPAddr
- type SocksAddr
- func NewSocksAddrFromAddrPort(addr netip.AddrPort) *SocksAddr
- func NewSocksAddrFromString(address string) (*SocksAddr, error)
- func NewSocksAddrFromStringWithDefaultPort(address string, defaultPort uint16) (*SocksAddr, error)
- func NewSocksDomainPort(domain string, port uint16) *SocksAddr
- func NewSocksIPPort(ip netip.Addr, port uint16) *SocksAddr
- func (s *SocksAddr) Domain() string
- func (s *SocksAddr) IP() netip.Addr
- func (s *SocksAddr) IsDomain() bool
- func (s *SocksAddr) IsIP() bool
- func (s *SocksAddr) IsIPv4() bool
- func (s *SocksAddr) IsIPv6() bool
- func (s *SocksAddr) Port() uint16
- func (s *SocksAddr) String() string
- func (s *SocksAddr) UDPAddr() net.Addr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainUDPAddr ¶
type DomainUDPAddr struct {
// contains filtered or unexported fields
}
func (*DomainUDPAddr) Network ¶
func (d *DomainUDPAddr) Network() string
func (*DomainUDPAddr) String ¶
func (d *DomainUDPAddr) String() string
type SocksAddr ¶
type SocksAddr struct {
// contains filtered or unexported fields
}
func NewSocksAddrFromString ¶
func NewSocksDomainPort ¶
Click to show internal directories.
Click to hide internal directories.