MCPcopy Create free account

hub / github.com/codegangsta/caddy-nats / functions

Functions38 in github.com/codegangsta/caddy-nats

↓ 15 callersFunctionreqPath
Returns a basic request for testing
replacer_test.go:14
↓ 4 callersMethodCaddyModule
CaddyModule returns the Caddy module information.
app.go:35
↓ 3 callersMethodUnmarshalCaddyfile
(d *caddyfile.Dispenser)
caddyfile.go:67
↓ 2 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler)
publish.go:51
↓ 2 callersMethodWriteHeader
(statusCode int)
noop_response_writer.go:13
↓ 2 callersFunctionaddNATSPublishVarsToReplacer
(repl *caddy.Replacer, req *http.Request)
replacer.go:13
↓ 2 callersFunctionaddNatsSubscribeVarsToReplacer
(repl *caddy.Replacer, msg *nats.Msg)
replacer.go:41
↓ 2 callersFunctionminMax
(i int, min int, max int)
replacer.go:112
↓ 2 callersFunctionparseQueueSubscribeHandler
(d *caddyfile.Dispenser)
caddyfile.go:57
↓ 2 callersFunctionparseSubscribeHandler
(d *caddyfile.Dispenser)
caddyfile.go:47
↓ 2 callersFunctionsubSlice
subSlice returns a subslice of the given slice based off the string exp. expressions can be in the format of ":" "n", "n:", ":n", or "n:n", with n bei
replacer.go:70
↓ 1 callersMethodSubscribe
(conn *nats.Conn)
handler.go:6
↓ 1 callersMethodUnsubscribe
(conn *nats.Conn)
handler.go:7
↓ 1 callersMethodWrite
(p []byte)
noop_response_writer.go:9
↓ 1 callersMethodmatchServer
(servers map[string]*caddyhttp.Server, req *http.Request)
subscribe.go:124
↓ 1 callersMethodnatsRequestReply
(subject string, reqBody []byte, w http.ResponseWriter)
publish.go:79
↓ 1 callersMethodprepareRequest
(method string, rawURL string, body io.Reader)
subscribe.go:138
MethodCaddyModule
()
publish.go:31
MethodCaddyModule
()
subscribe.go:35
MethodHeader
()
noop_response_writer.go:17
MethodProvision
Provision sets up the app
app.go:43
MethodProvision
(ctx caddy.Context)
publish.go:38
MethodProvision
(ctx caddy.Context)
subscribe.go:42
MethodStart
()
app.go:63
MethodStop
()
app.go:84
MethodSubscribe
(conn *nats.Conn)
subscribe.go:49
FunctionTestAddNatsPublishVarsToReplacer
(t *testing.T)
replacer_test.go:19
FunctionTestAddNatsSubscribeVarsToReplacer
(t *testing.T)
replacer_test.go:63
MethodUnmarshalCaddyfile
(d *caddyfile.Dispenser)
caddyfile.go:122
MethodUnsubscribe
(conn *nats.Conn)
subscribe.go:72
Methodhandler
(msg *nats.Msg)
subscribe.go:85
Functioninit
()
caddyfile.go:12
Functioninit
()
app.go:14
Functioninit
()
publish.go:18
Functioninit
()
subscribe.go:31
FunctionparseApp
(d *caddyfile.Dispenser, _ interface{})
caddyfile.go:18
FunctionparsePublishHandler
(h httpcaddyfile.Helper)
caddyfile.go:29
FunctionparseRequestHandler
(h httpcaddyfile.Helper)
caddyfile.go:38