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

# Packages

Package broker is a tunnel broker.
Package transport provides a tunnel transport.

# Functions

The tunnel address.
No description provided by the author
DefaultOptions returns router default options.
DialLink specifies the link to pin this connection to.
Dial multicast sets the multicast option to send only to those mapped.
DialTimeout sets the dial timeout of the connection.
DialWait specifies whether to wait for the connection to be accepted before returning the session.
Encrypt encrypts data and returns the encrypted data.
The tunnel id.
Listen options.
Timeout for reads and writes on the listener session.
NewTunnel creates a new tunnel.
Nodes specify remote network nodes.
Token sets the shared token for auth.
Transport listens for incoming connections.

# Constants

send to all links.
send to all channel listeners.
send over one link.

# Variables

DefaultAddress is default tunnel bind address.
DefaultDialTimeout is the dial timeout if none is specified.
The shared default token.
DiscoverTime sets the time at which we fire discover messages.
ErrDecryptingData is for when theres a nonce error.
ErrDialTimeout is returned by a call to Dial where the timeout occurs.
ErrDiscoverChan is returned when we failed to receive the "announce" back from a discovery.
No description provided by the author
ErrLinkDisconnected is returned when a link we attempt to send to is disconnected.
ErrLinkLoppback is returned when attempting to send an outbound message over loopback link.
ErrLinkNotFound is returned when a link is specified at dial time and does not exist.
ErrLinkRemote is returned when attempting to send a loopback message over remote link.
ErrReadTimeout is a timeout on session.Recv.
KeepAliveTime defines time interval we send keepalive messages to outbound links.
ReconnectTime defines time interval we periodically attempt to reconnect dead links.

# Structs

No description provided by the author
No description provided by the author
Options provides network configuration options.

# Interfaces

Link represents internal links to the tunnel.
The listener provides similar constructs to the transport.Listener.
Session is a unique session created when dialling or accepting connections on the tunnel.
Tunnel creates a gre tunnel on top of the go-micro/transport.

# Type aliases

No description provided by the author
No description provided by the author
Mode of the session.
No description provided by the author