Documentation ¶
Index ¶
- func BasicAuth(c *Controller) (middleware.Middleware, error)
- func BindHost(c *Controller) (middleware.Middleware, error)
- func Browse(c *Controller) (middleware.Middleware, error)
- func Errors(c *Controller) (middleware.Middleware, error)
- func Ext(c *Controller) (middleware.Middleware, error)
- func FastCGI(c *Controller) (middleware.Middleware, error)
- func Git(c *Controller) (middleware.Middleware, error)
- func Gzip(c *Controller) (middleware.Middleware, error)
- func Headers(c *Controller) (middleware.Middleware, error)
- func Log(c *Controller) (middleware.Middleware, error)
- func Markdown(c *Controller) (middleware.Middleware, error)
- func Proxy(c *Controller) (middleware.Middleware, error)
- func Redir(c *Controller) (middleware.Middleware, error)
- func Rewrite(c *Controller) (middleware.Middleware, error)
- func Root(c *Controller) (middleware.Middleware, error)
- func Shutdown(c *Controller) (middleware.Middleware, error)
- func Startup(c *Controller) (middleware.Middleware, error)
- func TLS(c *Controller) (middleware.Middleware, error)
- func Templates(c *Controller) (middleware.Middleware, error)
- func WebSocket(c *Controller) (middleware.Middleware, error)
- type Controller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicAuth ¶
func BasicAuth(c *Controller) (middleware.Middleware, error)
BasicAuth configures a new BasicAuth middleware instance.
func BindHost ¶
func BindHost(c *Controller) (middleware.Middleware, error)
func Browse ¶
func Browse(c *Controller) (middleware.Middleware, error)
Browse configures a new Browse middleware instance.
func Errors ¶
func Errors(c *Controller) (middleware.Middleware, error)
Errors configures a new gzip middleware instance.
func Ext ¶
func Ext(c *Controller) (middleware.Middleware, error)
Ext configures a new instance of 'extensions' middleware for clean URLs.
func FastCGI ¶
func FastCGI(c *Controller) (middleware.Middleware, error)
FastCGI configures a new FastCGI middleware instance.
func Git ¶
func Git(c *Controller) (middleware.Middleware, error)
Git configures a new Git service routine.
func Gzip ¶
func Gzip(c *Controller) (middleware.Middleware, error)
Gzip configures a new gzip middleware instance.
func Headers ¶
func Headers(c *Controller) (middleware.Middleware, error)
Headers configures a new Headers middleware instance.
func Log ¶
func Log(c *Controller) (middleware.Middleware, error)
func Markdown ¶
func Markdown(c *Controller) (middleware.Middleware, error)
Markdown configures a new Markdown middleware instance.
func Proxy ¶
func Proxy(c *Controller) (middleware.Middleware, error)
Proxy configures a new Proxy middleware instance.
func Redir ¶
func Redir(c *Controller) (middleware.Middleware, error)
Redir configures a new Redirect middleware instance.
func Rewrite ¶
func Rewrite(c *Controller) (middleware.Middleware, error)
Rewrite configures a new Rewrite middleware instance.
func Root ¶
func Root(c *Controller) (middleware.Middleware, error)
func Shutdown ¶
func Shutdown(c *Controller) (middleware.Middleware, error)
func Startup ¶
func Startup(c *Controller) (middleware.Middleware, error)
func TLS ¶
func TLS(c *Controller) (middleware.Middleware, error)
func Templates ¶
func Templates(c *Controller) (middleware.Middleware, error)
Templates configures a new Templates middleware instance.
func WebSocket ¶
func WebSocket(c *Controller) (middleware.Middleware, error)
WebSocket configures a new WebSockets middleware instance.