Documentation
¶
Index ¶
- Variables
- func AddUserSession(session userSession)
- func ExistsUserSession(sessionID string) bool
- func GetCookieValueByName(cookie []*http.Cookie, name string) string
- func GetUserIDFromSessionID(sessionID string) (int64, error)
- func LoggedInHandler(w http.ResponseWriter, r *http.Request) HTTPErrors.Error
- func LoginHandler(w http.ResponseWriter, r *http.Request) HTTPErrors.Error
- func LogoutHandler(w http.ResponseWriter, r *http.Request) HTTPErrors.Error
- func OauthCallBackHandler(w http.ResponseWriter, r *http.Request) HTTPErrors.Error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AddUserSession ¶
func AddUserSession(session userSession)
func ExistsUserSession ¶
func GetUserIDFromSessionID ¶
func LoggedInHandler ¶
func LoggedInHandler(w http.ResponseWriter, r *http.Request) HTTPErrors.Error
func LoginHandler ¶
func LoginHandler(w http.ResponseWriter, r *http.Request) HTTPErrors.Error
func LogoutHandler ¶
func LogoutHandler(w http.ResponseWriter, r *http.Request) HTTPErrors.Error
func OauthCallBackHandler ¶
func OauthCallBackHandler(w http.ResponseWriter, r *http.Request) HTTPErrors.Error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.