package
0.0.0-20220129112925-a968a3f5976c
Repository: https://github.com/thinkiumgroup/go-thinkium.git
Documentation: pkg.go.dev

# Functions

CheckRelayIP reports whether an IP relayed from the given sender IP is a valid connection target.
get all the connected chains.
find a chain who was closet to the target chain.
Get the chainId list which needs to dial out.
No description provided by the author
IsLAN reports whether an IP is a local network address.
IsSpecialNetwork reports whether an IP is located in a special-use network range This includes broadcast, multicast and documentation addresses.
No description provided by the author
No description provided by the author
Now returns the current absolute monotonic time.
SameNet reports whether two IP addresses have an equal prefix of the given bit length.
ListenUDP returns a new table that listens for UDP packets on laddr.
ListenUDP returns a new table that listens for UDP packets on laddr.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
sort tab size.
No description provided by the author

# Structs

No description provided by the author
DistinctNetSet tracks IPs, ensuring that at most N of them fall into the same network range.
p2p node struct */.
No description provided by the author
ReadPacket is sent to the unhandled channel when it could not be processed.
No description provided by the author
System implements Clock using the system clock.
No description provided by the author
Config holds Table-related settings.

# Interfaces

ChanTimer is a cancellable event created by NewTimer.
The Clock interface makes it possible to replace the monotonic system clock with a simulated clock.
No description provided by the author
No description provided by the author
Timer is a cancellable event created by AfterFunc.

# Type aliases

AbsTime represents absolute monotonic time.
No description provided by the author
Netlist is a list of IP networks.