middleware

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2016 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoSignIn added in v0.6.5

func AutoSignIn(ctx *Context) (bool, error)

AutoSignIn reads cookie and try to auto-login.

func Contexter added in v0.5.0

func Contexter() macaron.Handler

Contexter initializes a classic context for a request.

func GitHookService added in v0.5.5

func GitHookService() macaron.Handler

GitHookService checks if repository Git hooks service has been enabled.

func HandleOrgAssignment added in v0.7.22

func HandleOrgAssignment(ctx *Context, args ...