Documentation
¶
Index ¶
- Variables
- func CaptureBody(c *Context)
- func CorsHandler() macaron.Handler
- func DisableTracing(c *Context)
- func Logger() macaron.Handler
- func NodeReady() macaron.Handler
- func OrgMiddleware(multiTenant bool) macaron.Handler
- func RequestStats() macaron.Handler
- func RequireOrg() macaron.Handler
- func Tracer(tracer opentracing.Tracer) macaron.Handler
- type Context
- type LoggingResponseWriter
- type TracingResponseWriter
Constants ¶
This section is empty.
Variables ¶
View Source
var (
LogHeaders = false
)
Functions ¶
func CaptureBody ¶
func CaptureBody(c *Context)
func CorsHandler ¶
func DisableTracing ¶
func DisableTracing(c *Context)
func OrgMiddleware ¶
func RequestStats ¶
RequestStats returns a middleware that tracks request metrics.
func RequireOrg ¶
Types ¶
type LoggingResponseWriter ¶ added in v1.0.0
type LoggingResponseWriter struct {
macaron.ResponseWriter
// contains filtered or unexported fields
}
type TracingResponseWriter ¶
type TracingResponseWriter struct {
macaron.ResponseWriter
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.