package
3.4.0+incompatible
Repository: https://github.com/enfein/mieru.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AllIPAddr returns a catch-all IP address to bind.
BidiCopy does bi-directional data copy.
GetIPVersion returns the IP version of the given network address.
IsIPDualStack returns true if an IPv6 socket is able to send and receive both IPv4 and IPv6 packets.
IsNilNetAddr returns true if the net.Addr is nil / empty.
LocalIPAddr returns the localhost IP address.
Marshal returns a JSON representation of protobuf.
MaybeDecorateIPv6 adds [ and ] before and after an IPv6 address.
NilNetAddr returns an empty network address.
SendReceive sends a request to the connection and returns the response.
SetReadTimeout set read deadline to the connection.
TCPCongestionControlAlgorithm returns the TCP congestion control algorithm used by the operating system.
ToCommon64Set rewrites [beginIdx, endIdx) of the byte slice with characters from Common64Set.
ToPrintableChar rewrites [beginIdx, endIdx) of the byte slice with printable ASCII characters.
Unmarshal writes protobuf based on JSON data.
UnusedTCPPort returns an unused TCP port.
UnusedUDPPort returns an unused UDP port.
WaitForClose blocks the go routine.
WrapHierarchyConn wraps an existing connection with HierarchyConn.

# Constants

Common64Set contains 64 selected common characters.
DefaultMTU is the default MTU of L2 packets in the network.
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
0x20, i.e.
0x7E, i.e.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

DNSResolver uses Golang's default DNS implementation to resolve host names.
NetAddr implements net.Addr interface.

# Interfaces

HierarchyConn closes sub-connections when this connection is closed.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author