web

package
v0.0.0-...-a932866 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2014 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	system.Controller
}

func (*Controller) Index

func (controller *Controller) Index(c web.C, r *http.Request) (string, int)

Home page route

func (*Controller) Logout

func (controller *Controller) Logout(c web.C, r *http.Request) (string, int)

This route logs user out

func (*Controller) SignIn

func (controller *Controller) SignIn(c web.C, r *http.Request) (string, int)

Sign in route

func (*Controller) SignInPost

func (controller *Controller) SignInPost(c web.C, r *http.Request) (string, int)

Sign In form submit route. Logs user in or set appropriate message in session if login was not succesful

func (*Controller) SignUp

func (controller *Controller) SignUp(c web.C, r *http.Request) (string, int)

Sign up route

func (*Controller) SignUpPost

func (controller *Controller) SignUpPost(c web.C, r *http.Request) (string, int)

Sign Up form submit route. Registers new user or shows Sign Up route with appropriate messages set in session

Jump to

Keyboard shortcuts

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