Documentation ¶
Index ¶
- func ClearCookies(w http.ResponseWriter, r *http.Request)
- func ErrorPage(errors []string, w http.ResponseWriter)
- func GetTemplateFiles(controller_file string) []string
- func SetStateCookie(state string, w http.ResponseWriter)
- func UpdateTokenCookies(s spotify.SpotifyAuthorizatied, w http.ResponseWriter)
- func WriteErrorToRes(w http.ResponseWriter, status int, message string)
- type PageData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearCookies ¶
func ClearCookies(w http.ResponseWriter, r *http.Request)
func ErrorPage ¶
func ErrorPage(errors []string, w http.ResponseWriter)
func GetTemplateFiles ¶
func SetStateCookie ¶
func SetStateCookie(state string, w http.ResponseWriter)
func UpdateTokenCookies ¶
func UpdateTokenCookies(s spotify.SpotifyAuthorizatied, w http.ResponseWriter)
func WriteErrorToRes ¶
func WriteErrorToRes(w http.ResponseWriter, status int, message string)
Types ¶
Click to show internal directories.
Click to hide internal directories.