MCPcopy Create free account
hub / github.com/codegangsta/caddy-nats / CaddyModule

Method CaddyModule

app.go:35–40  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

33
34// CaddyModule returns the Caddy module information.
35func (App) CaddyModule() caddy.ModuleInfo {
36 return caddy.ModuleInfo{
37 ID: "nats",
38 New: func() caddy.Module { return new(App) },
39 }
40}
41
42// Provision sets up the app
43func (app *App) Provision(ctx caddy.Context) error {

Callers 1

UnmarshalCaddyfileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected