Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MiddlewareFunc ¶
type MiddlewareFunc func(r *RouteInfo) echo.HandlerFunc
type MiddlewareHandler ¶
type MiddlewareHandler struct {
// contains filtered or unexported fields
}
func NewMiddlewareHandler ¶
func NewMiddlewareHandler(swagger *openapi3.T) (*MiddlewareHandler, error)
func (*MiddlewareHandler) Middleware ¶
func (m *MiddlewareHandler) Middleware() (echo.MiddlewareFunc, error)
func (*MiddlewareHandler) Use ¶
func (m *MiddlewareHandler) Use(mw MiddlewareFunc)
type RouteInfo ¶
type RouteInfo struct { OperationID string Security SecurityRequirement Resources []string }
Click to show internal directories.
Click to hide internal directories.