package
0.0.0-20220412220916-5ea02083e3ec
Repository: https://github.com/riteshrch/go-edge-device-lib.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
NewAddr creates an Addr with `ws` scheme (insecure).
NewAddrWithScheme creates a new Addr using the given host string.
NewConn creates a Conn given a regular gorilla/websocket Conn.
No description provided by the author
WithTLSClientConfig sets a TLS client configuration on the WebSocket Dialer.
WithTLSConfig sets a TLS configuration for the WebSocket listener.

# Variables

GracefulCloseTimeout is the time to wait trying to gracefully close a connection before simply cutting it.
WsFmt is multiaddr formatter for WsProtocol.

# Structs

Addr is an implementation of net.Addr for WebSocket.
Conn implements net.Conn interface for gorilla/websocket.
WebsocketTransport is the actual go-libp2p transport.

# Type aliases

No description provided by the author