Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Identity is a middleware that does nothing.
Functions ¶
func ResponseError ¶
func ResponseError(w http.ResponseWriter, code int, err *openapi.Error)
Types ¶
type Middleware ¶
type Middleware interface { // A Middleware https://cs.opensource.google/go/x/pkgsite/+/68be0dd1:internal/middleware/middleware.go Handler(next http.Handler) http.Handler }
Click to show internal directories.
Click to hide internal directories.