package
2.9.4+incompatible
Repository: https://github.com/go-iot-platform/go-micro.git
Documentation: pkg.go.dev

# Packages

Package resolver resolves network names to addresses.
No description provided by the author

# Functions

Address sets the network address.
Advertise sets the address to advertise.
DefaultOptions returns network default options.
Id sets the id of the network node.
Name sets the network name.
NewNetwork returns a new network interface.
Nodes is a list of nodes to connect to.
PeersToProto returns node peers graph encoded into protobuf.
Proxy sets the network proxy.
Resolver is the network resolver.
Router sets the network router.
Tunnel sets the network tunnel.
UnpackPeerTopology unpacks pb.Peer into node topology of given depth.

# Variables

AnnounceTime defines time interval to periodically announce node neighbours.
ControlChannel is the name of the tunnel channel for passing control message.
DefaultAddress is default network address.
DefaultLink is default network link.
DefaultName is default network name.
ErrClientNotFound is returned when client for tunnel channel could not be found.
ErrPeerExists is returned when adding a peer which already exists.
ErrPeerLinkNotFound is returned when peer link could not be found in tunnel Links.
ErrPeerMaxExceeded is returned when peer has reached its max error count limit.
ErrPeerNotFound is returned when a peer could not be found in node topology.
KeepAliveTime is the time in which we want to have sent a message to a peer.
MaxConnections is the max number of network client connections.
MaxDepth defines max depth of peer topology.
MaxPeerErrors is the max number of peer errors before we remove it from network graph.
NetworkChannel is the name of the tunnel channel for passing network messages.
PruneTime defines time interval to periodically check nodes that need to be pruned due to their not announcing their presence within this time interval.
ResolveTime defines time interval to periodically resolve network nodes.
SyncTime is the time a network node requests full sync from the network.

# Structs

Options configure network.

# Interfaces

Error is network node errors.
Network is micro network.
Node is network node.
Status is node status.

# Type aliases

No description provided by the author