wsio

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 3 Imported by: 0

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.

func (*Reader) Read

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL