Documentation ¶
Index ¶
- func DefaultHandler(w http.ResponseWriter, r *http.Request)
- func ErrorHandler(w http.ResponseWriter, r *http.Request, err error, code int)
- func InitHandlers()
- func LogOutHandler(w http.ResponseWriter, r *http.Request)
- func LogoHandler(w http.ResponseWriter, r *http.Request)
- func OAuthCallbackHandler(w http.ResponseWriter, r *http.Request)
- func OAuthLoginHandler(w http.ResponseWriter, r *http.Request)
- func ViewHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultHandler ¶
func DefaultHandler(w http.ResponseWriter, r *http.Request)
DefaultHandler handles index page
func ErrorHandler ¶
ErrorHandler handles all app errors
func LogOutHandler ¶
func LogOutHandler(w http.ResponseWriter, r *http.Request)
LogOutHandler resets cookie and redirects to index page
func LogoHandler ¶
func LogoHandler(w http.ResponseWriter, r *http.Request)
LogoHandler handles posted queries
func OAuthCallbackHandler ¶
func OAuthCallbackHandler(w http.ResponseWriter, r *http.Request)
OAuthCallbackHandler handles oauth callback
func OAuthLoginHandler ¶
func OAuthLoginHandler(w http.ResponseWriter, r *http.Request)
OAuthLoginHandler handles oauth login
func ViewHandler ¶
func ViewHandler(w http.ResponseWriter, r *http.Request)
ViewHandler handles view page
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.