Documentation
¶
Overview ¶
Package wsio provides reusable message storage for serial WebSocket readers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader retains storage for ordinary relay packets, but not large signaling messages. The connection's SetReadLimit remains the message-size authority. Returned bytes are borrowed until the next Read; decode or copy before then. A Reader belongs to one read loop and must not be used concurrently.
Click to show internal directories.
Click to hide internal directories.