MCPcopy
hub / github.com/coredns/coredns / setup

Function setup

plugin/https3/setup.go:18–24  ·  view source on GitHub ↗
(c *caddy.Controller)

Source from the content-addressed store, hash-verified

16}
17
18func setup(c *caddy.Controller) error {
19 err := parseDOH3(c)
20 if err != nil {
21 return plugin.Error("https3", err)
22 }
23 return nil
24}
25
26func parseDOH3(c *caddy.Controller) error {
27 config := dnsserver.GetConfig(c)

Callers 1

TestSetupFunction · 0.70

Calls 2

ErrorFunction · 0.92
parseDOH3Function · 0.85

Tested by 1

TestSetupFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…