Documentation ¶
Index ¶
- func ErrorHandler(next http.Handler) http.Handler
- func HandleReadonlyCondition(w http.ResponseWriter)
- func IDHandler(next http.Handler) http.Handler
- func LoggingMiddleware(l log.Logger) func(http.Handler) http.Handler
- func ReadonlyMiddleware(isReadonly bool) func(http.Handler) http.Handler
- type ErrorResponseWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleReadonlyCondition ¶
func HandleReadonlyCondition(w http.ResponseWriter)
Types ¶
type ErrorResponseWriter ¶
type ErrorResponseWriter struct { http.ResponseWriter // contains filtered or unexported fields }
func (*ErrorResponseWriter) Hijack ¶
func (rw *ErrorResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error)
func (*ErrorResponseWriter) WriteHeader ¶
func (rw *ErrorResponseWriter) WriteHeader(code int)
Click to show internal directories.
Click to hide internal directories.