Documentation
¶
Overview ¶
Package vbantxt provides utilities for handling VBAN text errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BpsOpts = []int{
0, 110, 150, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 31250,
38400, 57600, 115200, 128000, 230400, 250000, 256000, 460800, 921600,
1000000, 1500000, 2000000, 3000000,
}
BpsOpts defines the available baud rate options.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*VbanTxt)
Option is a functional option type that allows us to configure the VbanTxt.
func WithBPSOpt ¶
WithBPSOpt is a functional option to set the bps index for {VbanTxt}.packet.
func WithChannel ¶
WithChannel is a functional option to set the channel for {VbanTxt}.packet.
func WithRateLimit ¶
WithRateLimit is a functional option to set the ratelimit for requests.
type VbanTxt ¶
type VbanTxt struct {
// contains filtered or unexported fields
}
VbanTxt is used to send VBAN-TXT requests to a distant Voicemeeter/Matrix.
func New ¶
New constructs a fully formed VbanTxt instance. This is the package's entry point. It sets default values for it's fields and then runs the option functions.
Click to show internal directories.
Click to hide internal directories.