Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultAPIEndpoint = "http://127.0.0.1:2560/nodes/"
Variables ¶
This section is empty.
Functions ¶
func NewEnvClient ¶
NewEnvClient creates an INET256 service using the environment variables to find the API. If you are looking for a inet256.Service constructor, this is probably the one you want. It checks the environment variable `INET256_API`
func NewPacketConn ¶
func NewPacketConn(n inet256.Node) net.PacketConn
NewPacketConn wraps the Node n in an adapter exposing the net.PacketConn interface instead.
Types ¶
Click to show internal directories.
Click to hide internal directories.