Documentation
¶
Overview ¶
Package pairing is the speechkit.pairing.v1 payload a homelab client consumes into a stored self_host session. DNS-SD announcements stay credential-free; this JSON is how a token leaves /setup.
Index ¶
Constants ¶
View Source
const ( Version = "speechkit.pairing.v1" AuthBearer = "bearer" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Payload ¶
type Payload struct {
V string `json:"v"`
ServerURL string `json:"server_url"`
Auth string `json:"auth"`
Token string `json:"token"`
Name string `json:"name,omitempty"`
}
Payload is the operator-facing pairing card. Token is a bearer secret; it must never appear in `_speechkit._tcp` TXT.
Click to show internal directories.
Click to hide internal directories.