MCPcopy
hub / github.com/caddyserver/caddy / PublisherKey

Method PublisherKey

modules/caddytls/ech.go:814–816  ·  view source on GitHub ↗

PublisherKey returns the name of the DNS provider module. We intentionally omit specific provider configuration (or a hash thereof, since the config is likely sensitive, potentially containing an API key) because it is unlikely that specific configuration, such as an API key, is relevant to unique k

()

Source from the content-addressed store, hash-verified

812// because it is unlikely that specific configuration, such as an API key,
813// is relevant to unique key use as an ECH config publisher.
814func (dnsPub ECHDNSPublisher) PublisherKey() string {
815 return string(dnsPub.provider.(caddy.Module).CaddyModule().ID)
816}
817
818// PublishECHConfigList publishes the given ECH config list (as binary) to the given DNS names.
819// If there is an error, it may be of type PublishECHConfigListErrors, detailing

Callers

nothing calls this directly

Calls 1

CaddyModuleMethod · 0.65

Tested by

no test coverage detected