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

Method Setup

caddyconfig/caddyfile/adapter.go:115–115  ·  view source on GitHub ↗

Setup takes the server blocks which contain tokens, as well as options (e.g. CLI flags) and creates a Caddy config, along with any warnings or an error.

([]ServerBlock, map[string]any)

Source from the content-addressed store, hash-verified

113 // as well as options (e.g. CLI flags) and creates a
114 // Caddy config, along with any warnings or an error.
115 Setup([]ServerBlock, map[string]any) (*caddy.Config, []caddyconfig.Warning, error)
116}
117
118// UnmarshalModule instantiates a module with the given ID and invokes

Callers 1

AdaptMethod · 0.65

Implementers 1

ServerTypecaddyconfig/httpcaddyfile/httptype.go

Calls

no outgoing calls

Tested by

no test coverage detected