package
2.0.3+incompatible
Repository: https://github.com/embeddedenterprises/nexus.git
Documentation: pkg.go.dev
# Packages
Package serialize provides a Serializer interface with implementations that
encode and decode message data in various ways.
# Functions
AcceptRawSocket handles the client handshake and returns a rawSocketPeer.
ConnectRawSocketPeer creates a new rawSocketPeer with the specified config, and connects it to the WAMP router at the specified address.
ConnectTlsRawSocketPeer creates a new rawSocketPeer with the specified config, and connects it, using TLS, to the WAMP router at the specified address.
ConnectWebsocketPeer creates a new websocket client with the specified config, connects the client to the websocket server at the specified URL, and returns the connected websocket peer.
IsLocal returns true is the wamp.Peer is a localPeer.
LinkedPeers creates two connected peers.
NewWebsocketPeer creates a websocket peer from an existing websocket connection.
# Structs
WebsocketConfig is used to provide configuration client websocket settings.
# Type aliases
No description provided by the author