Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultMiddlewarePriority = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct { Type string `json:"Type"` ID string `json:"Id"` Priority int `json:"Priority"` Spec MiddlewareSpec `json:"Middleware"` }
func (Middleware) String ¶
func (m Middleware) String() string
type MiddlewareSpec ¶
type MiddlewareSpec interface{}
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) AddFrontend ¶
func (r *Registry) AddFrontend(host, path string, methods []string, middlewares []Middleware)
Click to show internal directories.
Click to hide internal directories.