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

Method Option

caddyconfig/httpcaddyfile/directives.go:217–219  ·  view source on GitHub ↗

Option gets the option keyed by name.

(name string)

Source from the content-addressed store, hash-verified

215
216// Option gets the option keyed by name.
217func (h Helper) Option(name string) any {
218 return h.options[name]
219}
220
221// Caddyfiles returns the list of config files from
222// which tokens in the current server block were loaded.

Callers 3

NewTemplateMethod · 0.80
parseTLSFunction · 0.80
implicitACMEIssuersFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected