Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Middleware ¶
Middleware represents a function that can wrap a http.Handler with additional functionality. It takes a http.Handler and returns a new http.Handler that includes the middleware's behavior.
type WrappedWriter ¶ added in v0.0.2
type WrappedWriter struct {
http.ResponseWriter
StatusCode int
}
func (*WrappedWriter) WriteHeader ¶ added in v0.0.2
func (w *WrappedWriter) WriteHeader(c int)
Click to show internal directories.
Click to hide internal directories.