Invoke implements a handler that compiles and executes a named route that was defined on the server. EXPERIMENTAL: Subject to change or removal.
| 30 | // |
| 31 | // EXPERIMENTAL: Subject to change or removal. |
| 32 | type 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. |
| 38 | func (Invoke) CaddyModule() caddy.ModuleInfo { |
nothing calls this directly
no outgoing calls
no test coverage detected