routes

package
v0.0.0-...-4b998cf Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2016 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func About

About shows info about the project, team etc ...

func DeleteProject

func DeleteProject(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

DeleteProject Deletes a project

func FAQ

FAQ shows frequently asqued questions about the project, team etc ...

func GetProject

func GetProject(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

GetProject is the Hugoku project page handler and shows the project and the build history.

func GithubLogin

func GithubLogin(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

GithubLogin redirects the user to github to handle the Oauth2 authentication

func GithubLoginCallback

func GithubLoginCallback(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

GithubLoginCallback Called by github after authorization is granted

func GithubLogout

func GithubLogout(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

GithubLogout ...

func Index

Index is the Hugoku home page handler will redirect a non logged user to do the logging with Github or show a list of projectst and a form to add a project to a logged user,

func PostProject

func PostProject(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

PostProject ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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