package
3.50.2+incompatible
Repository: https://github.com/delphit430/v2ray-core.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DestinationFromAddr generates a Destination from a net address.
DomainAddress creates an Address with given domain.
No description provided by the author
IPAddress creates an Address with given IP.
No description provided by the author
No description provided by the author
NewIPOrDomain translates Address to IPOrDomain.
ParseAddress parses a string into an Address.
ParseDestination converts a destination from its string presentation.
No description provided by the author
PortFromBytes converts a byte array to a Port, assuming bytes are in big endian order.
PortFromInt converts an integer to a Port.
PortFromString converts a string to a Port.
SinglePortRange returns a PortRange contains a single port.
TCPDestination creates a TCP destination with given address.
UDPDestination creates a UDP destination with given address.
# Constants
AddressFamilyDomain represents address as Domain.
AddressFamilyIPv4 represents address as IPv4.
AddressFamilyIPv6 represents address as IPv6.
No description provided by the author
No description provided by the author
Deprecated: Do not use.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
AnyIP is a constant value for any IP in IPv4.
No description provided by the author
No description provided by the author
DialTCP is an injectable function.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LocalHostDomain is a constant value for localhost domain.
LocalHostIP is a constant value for localhost IP in IPv4.
LocalHostIPv6 is a constant value for localhost IP in IPv6.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Destination represents a network destination including address and protocol (tcp / udp).
Endpoint of a network connection.
No description provided by the author
Address of a network host.
No description provided by the author
No description provided by the author
NetworkList is a list of Networks.
PortRange represents a range of ports.
# Interfaces
Address represents a network address to be communicated with.
# Type aliases
No description provided by the author
No description provided by the author
AddressFamily is the type of address.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IP is an alias for net.IP.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Port represents a network port in TCP and UDP protocol.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author