user

package module
v0.0.0-...-830bd6a Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2015 License: MIT Imports: 5 Imported by: 0

README

goji-user

Simple user package for goji.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(options *Opts)

func RouteInit

func RouteInit(c web.C, w http.ResponseWriter, r *http.Request)

Types

type Finder

type Finder struct{}

implement auth.UserFinderInterface

func (*Finder) FindUserByEmailAndPassword

func (f *Finder) FindUserByEmailAndPassword(email, password string) (auth.UserInterface, error)

type Opts

type Opts struct {
	Dbx     *sqlx.DB
	Mux     *web.Mux
	MuxBase string
}

Jump to

Keyboard shortcuts

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