Documentation ¶
Index ¶
- Variables
- func About(c web.C, w http.ResponseWriter, req *http.Request)
- func ChecksIndex(c web.C, w http.ResponseWriter, req *http.Request)
- func CreateCheck(c web.C, w http.ResponseWriter, req *http.Request)
- func DeleteCheck(c web.C, w http.ResponseWriter, req *http.Request)
- func Home(c web.C, w http.ResponseWriter, req *http.Request)
- func IP(w http.ResponseWriter, req *http.Request)
- func NewCheck(c web.C, w http.ResponseWriter, req *http.Request)
- func NotFound(c web.C, w http.ResponseWriter, req *http.Request)
- func OAuthAuthorize(w http.ResponseWriter, req *http.Request)
- func OAuthCallback(c web.C, w http.ResponseWriter, req *http.Request)
- func ResultsIndex(c web.C, w http.ResponseWriter, req *http.Request)
- func ShowCheck(c web.C, w http.ResponseWriter, req *http.Request)
- func SignOut(c web.C, w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var OAuthConf *oauth2.Config
Functions ¶
func ChecksIndex ¶
func CreateCheck ¶
CreateCheck saves a new check to the DB
func DeleteCheck ¶
DeleteCheck deletes a single check
func OAuthAuthorize ¶
func OAuthAuthorize(w http.ResponseWriter, req *http.Request)
OAuthAuthorize makes the user login
func OAuthCallback ¶
OAuthCallback handles the callback from GitHub
func ResultsIndex ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.