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

Struct Invoke

modules/caddyhttp/invoke.go:32–35  ·  view source on GitHub ↗

Invoke implements a handler that compiles and executes a named route that was defined on the server. EXPERIMENTAL: Subject to change or removal.

Source from the content-addressed store, hash-verified

30//
31// EXPERIMENTAL: Subject to change or removal.
32type Invoke struct {
33 // Name is the key of the named route to execute
34 Name string `json:"name,omitempty"`
35}
36
37// CaddyModule returns the Caddy module information.
38func (Invoke) CaddyModule() caddy.ModuleInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected