Documentation ¶
Index ¶
- func About(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func DeleteProject(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func FAQ(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func GetProject(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GithubLogin(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func GithubLoginCallback(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func GithubLogout(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func PostProject(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func About ¶
func About(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
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 ¶
func FAQ(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
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 ¶
func Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
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.
Click to show internal directories.
Click to hide internal directories.