Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthSelectorHandler ¶
type AuthSelectorHandler struct {
// contains filtered or unexported fields
}
func NewAuthSelectHandler ¶
func NewAuthSelectHandler(spec AuthSelectorHandlerSpec) *AuthSelectorHandler
func (*AuthSelectorHandler) Add ¶
func (h *AuthSelectorHandler) Add(handler http.Handler, selectFunc SelectFunc)
func (*AuthSelectorHandler) ServeHTTP ¶
func (h *AuthSelectorHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthSelectorHandlerSpec ¶
type HandlerSelection ¶
type HandlerSelection struct {
// contains filtered or unexported fields
}
type OpenAPIMiddleware ¶
type OpenAPIMiddleware struct {
// contains filtered or unexported fields
}
func NewOpenAPIMiddleWare ¶
func NewOpenAPIMiddleWare(rawSpec []byte) (*OpenAPIMiddleware, error)
func (*OpenAPIMiddleware) Middleware ¶
func (m *OpenAPIMiddleware) Middleware(next http.Handler) http.Handler
Middleware function, which will be called for each request
type SelectFunc ¶
Click to show internal directories.
Click to hide internal directories.