# Packages
No description provided by the author
# Functions
Creates a new simple websocket client (the channel is not secured).
NewClientTimeoutConfig creates a default timeout configuration for a websocket endpoint.
Creates a new simple websocket server (the websockets are not secured).
NewServerTimeoutConfig creates a default timeout configuration for a websocket endpoint.
NewTLSClient creates a new secure websocket client.
NewTLSServer creates a new secure websocket server.
Sets a custom Logger implementation, allowing the package to log events.
# Structs
Client is the default implementation of a Websocket client.
Config contains optional configuration parameters for a websocket client.
ConnectionError is a websocket.
Default implementation of a Websocket server.
Config contains optional configuration parameters for a websocket server.
WebSocket is a wrapper for a single websocket channel.
# Interfaces
Channel represents a bi-directional communication channel, which provides at least a unique ID.
WsClient defines a websocket client, needed to connect to a websocket server.
WsServer defines a websocket server, which passively listens for incoming connections on ws or wss protocol.
# Type aliases
No description provided by the author