package
0.0.0-20230810142242-a2e72b5ee95a
Repository: https://github.com/jaremko/ctl-api-example.git
Documentation: pkg.go.dev
# Functions
Decode decodes a COBS-encoded byte slice.
DecodeZPE decodes a COBS/ZPE-encoded byte slice.
Encode encodes a byte slice with COBS.
EncodeZPE encodes a byte slice with COBS/ZPE.
HandlePacketsFromC handles packets received from C and broadcasts them.
HandleSetColorScheme handles the SetColorScheme command.
HandleSetZoomLevel handles the SetZoomLevel command.
New returns a codec for COBS encoding/decoding.
NewZPE returns a codec for COBS/ZPE encoding/decoding.
No description provided by the author
No description provided by the author
# Constants
Constants.
Constants.
Constants.
Constants.
Constants.
Constants.
# Variables
ErrCorrupt indicates the input was corrupt.
# Structs
ConnectionManager keeps track of active WebSocket connections.
ConnectionWrapper wraps WebSocket connection and channels for writing and stopping.
DefaultState defines the default state of the thermal camera.
No description provided by the author
WriteRequest is a struct for encapsulating write request.
# Interfaces
Encoder encodes and decodes byte slices.