CalDAV and CardDAV checkers sharing a single Go module. Discovery follows RFC 6764 (/.well-known + SRV/TXT), authenticated probes cover principal, home-set, collections and a minimal REPORT query on top of go-webdav. Common shape in internal/dav/; CalDAV adds a scheduling rule. Surfaces its context URL (and each secure-SRV target) as TLS endpoints via the EndpointDiscoverer interface, so the dedicated TLS checker can pick them up without re-parsing observations. HTML report foregrounds common misconfigs (well-known returning 200, missing SRV, plaintext-only SRV, missing DAV capability, skipped auth phase) as action-item callouts before the full phase breakdown.
11 lines
406 B
Go
11 lines
406 B
Go
// Package checker (imported as carddav) implements the CardDAV compliance
|
|
// and health checker for happyDomain. See the CalDAV sibling for the shape;
|
|
// the two packages share ~everything except the protocol-specific home-set
|
|
// and REPORT calls, which live in collect.go.
|
|
package carddav
|
|
|
|
import "git.happydns.org/checker-dav/internal/dav"
|
|
|
|
const ObservationKey = "carddav"
|
|
|
|
type Data = dav.Observation
|