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

Method CaddyModule

subscribe.go:35–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35func (Subscribe) CaddyModule() caddy.ModuleInfo {
36 return caddy.ModuleInfo{
37 ID: "nats.handlers.subscribe",
38 New: func() caddy.Module { return new(Subscribe) },
39 }
40}
41
42func (s *Subscribe) Provision(ctx caddy.Context) error {
43 s.ctx = ctx

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected