Expand description
Uptrakit zeroconf contract — the single home for the mDNS/DNS-SD service type, the TXT record keys, and their build/parse logic, plus the browse primitives used by services and the CLI to locate a controller.
The advertised contract (SERVICE_TYPE + TXT keys) lives here and nowhere
else: the controller-runtime advertiser builds its TXT records through
build_txt_properties and every browser parses through parse_txt.
Structs§
- Discovered
Controller - A controller discovered via mDNS.
Enums§
- Zeroconf
Error - Errors produced by the zeroconf browse primitives.
Constants§
- SERVICE_
TYPE - mDNS service type advertised by the controller and browsed by clients.
- TXT_
KEY_ CA_ FP - TXT record key: SHA-256 fingerprint of the controller’s active CA certificate.
- TXT_
KEY_ PKI_ ADDR - TXT record key: optional PKI endpoint address.
- TXT_
KEY_ URL - TXT record key: optional HTTPS URL override (reverse proxy deployments).
Functions§
- browse_
all - Browse and collect all distinct controllers with an adaptive settle window.
- browse_
first - Browse for the first controller advertising the Uptrakit service type.
- build_
txt_ properties - Build the TXT record property list the controller advertises.
- parse_
txt - Build a
DiscoveredControllerfrom resolved mDNS service info.
Type Aliases§
- Result
- Boundary result alias covering all fallible functions in this crate.