# Packages

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

# Functions

New creates new secure tunneling proxy.
NewStat creates new Stat.
ProxyDestination proxies TCP connection from remote source device to the local destination application via IoT secure tunneling.
ProxySource proxies TCP connection from local socket to remote destination application via IoT secure tunneling.
WithErrorHandler sets a ErrorHandler.
WithPingPeriod sets ping send period.
WithStat enables statistics.

# Constants

List of ClientModes.
List of ClientModes.

# Variables

ErrInvalidClientMode indicate that the requested client mode is not valid for the tunnel.
ErrUnsupportedScheme indicate that the requested protocol scheme is not supported.

# Structs

Notification represents notify message.
Options stores options of the tunnel.
ProxyOptions stores options of the proxy.
Statistics stores proxy statistics data.

# Interfaces

ErrorHandler is an interface to handler error.
Stat is an interface to get and update the statistics of the proxy.
Tunnel is an interface of secure tunneling.

# Type aliases

ClientMode is a mode of the client.
Dialer is a proxy destination dialer.
ErrorHandlerFunc type is an adapter to use handler function as ErrorHandler.
Option is a type of functional options.
ProxyOption is a type of functional options.