Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
Interface for implementing middleware
func Compose ¶
func Compose(stack ...Middleware) Middleware
Compose a stack of middleware into a single middleware
func MethodOverride ¶ added in v0.2.2
func MethodOverride() Middleware
MethodOverride allows HTML <form method="post">'s to dispatch PATCH, PUT and DELETE requests by overriding the request method using a hidden "_method" field in the form body.
Click to show internal directories.
Click to hide internal directories.