web

package
v0.0.0-...-06bee79 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index

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

Home page route

func Logout

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

This route logs user out

func SignIn

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

Sign in route

func SignInPost

func 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 SignUp

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

Sign up route

func SignUpPost

func 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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