package
1.8.25
Repository: https://github.com/xmplusdev/xray-core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

DestinationFromAddr generates a Destination from a net address.
DomainAddress creates an Address with given domain.
HasNetwork returns true if the network list has a certain network.
IPAddress creates an Address with given IP.
NewIPOrDomain translates Address to IPOrDomain.
ParseAddress parses a string into an Address.
ParseDestination converts a destination from its string presentation.
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.
No description provided by the author
SinglePortRange returns a PortRange contains a single port.
TCPDestination creates a TCP destination with given address.
UDPDestination creates a UDP destination with given address.
UnixDestination creates a Unix 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: Marked as deprecated in common/net/network.proto.
No description provided by the author
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.
AnyIPv6 is a constant value for any IP in IPv6.
No description provided by the author
DialTCP is an alias of net.DialTCP.
DialTCP is an alias of net.DialTCP.
DialTCP is an alias of net.DialTCP.
DialTCP is an alias of net.DialTCP.
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
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
Enum value maps for Network.
Enum value maps for Network.
ParseIP is an alias of net.ParseIP.
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.
Address of a network host.
No description provided by the author
No description provided by the author
No description provided by the author
NetworkList is a list of Networks.
PortList is a list of ports.
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
IP is an alias for net.IP.
IP is an alias for net.IP.
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
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