middleware

package
v0.0.0-...-d217c6b Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2015 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {
	// contains filtered or unexported fields
}

func NewAuthenticator

func NewAuthenticator(database utils.DatabaseAccessor, session utils.SessionManager, currentUser utils.CurrentUserAccessor) *Authenticator

func (*Authenticator) Middleware

func (a *Authenticator) Middleware() negroni.HandlerFunc

type Database

type Database struct {
	// contains filtered or unexported fields
}

func NewDatabase

func NewDatabase(da utils.DatabaseAccessor) *Database

func (*Database) Middleware

func (d *Database) Middleware() negroni.HandlerFunc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL