Documentation
¶
Overview ¶
Package discovery announces the SpeechKit server on the local network via mDNS/DNS-SD so LAN devices (Kombify Box, desktop app, Android) can find a homelab instance under `_speechkit._tcp` without typing an address.
Scope: announcement only, opt-in via [server.discovery] (default OFF). The TXT record carries the dial URL plus enabled modes; it never carries credentials — auth (bearer/OIDC) applies unchanged after discovery.
Index ¶
Constants ¶
View Source
const ServiceType = "_speechkit._tcp"
ServiceType is the DNS-SD service type SpeechKit servers announce.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Announcer ¶
type Announcer struct {
// contains filtered or unexported fields
}
Announcer wraps the running mDNS responder.
type Record ¶
type Record struct {
InstanceName string `json:"instanceName"`
URL string `json:"url"`
Modes []string `json:"modes,omitempty"`
Version string `json:"version,omitempty"`
}
Record is one SpeechKit server found on the LAN. URL is the only dial address; credentials never belong here.
Click to show internal directories.
Click to hide internal directories.