Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hub ¶
type Hub struct {
// Capacity of the send channel.
// If capacity is 0, the send channel is unbuffered.
Capacity uint
// contains filtered or unexported fields
}
func NewHub ¶
NewClient instantiates a new websocket client.
NOTE: these may be useful to set: Capacity, ReadBufferSize, ReadTimeout, WriteTimeout
type TransportHandler ¶
type TransportHandler struct {
// contains filtered or unexported fields
}
using websocket for now, will be switching to Quic and WebTransport later
Click to show internal directories.
Click to hide internal directories.