MCPcopy
hub / github.com/openfaas/faas / HTTPNotifier

Interface HTTPNotifier

gateway/handlers/notifiers.go:16–18  ·  view source on GitHub ↗

HTTPNotifier notify about HTTP request/response

Source from the content-addressed store, hash-verified

14
15// HTTPNotifier notify about HTTP request/response
16type HTTPNotifier interface {
17 Notify(method string, URL string, originalURL string, statusCode int, event string, duration time.Duration)
18}
19
20func urlToLabel(path string) string {
21 if len(path) > 0 {

Callers 2

MakeNotifierWrapperFunction · 0.65

Implementers 3

PrometheusFunctionNotifiergateway/handlers/notifiers.go
LoggingNotifiergateway/handlers/notifiers.go
testNotifiergateway/handlers/notifier_wrapper_test

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…