Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
func New ¶
func New(function Function, options ...Option) *Middleware
func (*Middleware) Function ¶
func (r *Middleware) Function() Function
func (*Middleware) Order ¶
func (r *Middleware) Order() int
func (*Middleware) PathPatterns ¶
func (r *Middleware) PathPatterns() []string
type Option ¶
type Option func(middleware *Middleware)
Click to show internal directories.
Click to hide internal directories.