Documentation ¶
Index ¶
- Variables
- func ChangePasswordHandler(w http.ResponseWriter, r *http.Request, title string)
- func ConfirmHandler(w http.ResponseWriter, r *http.Request, title string)
- func FaviconHandler(w http.ResponseWriter, r *http.Request)
- func ForgotPasswordHandler(w http.ResponseWriter, r *http.Request, title string)
- func HomeHandler(w http.ResponseWriter, r *http.Request, title string)
- func IsLoggedIn(r *http.Request) (userrepo.User, error)
- func LoadTemplates() error
- func LoginHandler(w http.ResponseWriter, r *http.Request, title string)
- func LogoutHandler(w http.ResponseWriter, r *http.Request, title string)
- func SetAuthHandlers()
- func SignupHandler(w http.ResponseWriter, r *http.Request, title string)
- type PageInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var AppRoot string
TODO Use this
View Source
var DbFile string
View Source
var Files embed.FS
View Source
var Templates map[string]*template.Template
Set by calling code
View Source
var TemplatesDir string
Functions ¶
func ChangePasswordHandler ¶
func ChangePasswordHandler(w http.ResponseWriter, r *http.Request, title string)
func ConfirmHandler ¶
func ConfirmHandler(w http.ResponseWriter, r *http.Request, title string)
func FaviconHandler ¶
func FaviconHandler(w http.ResponseWriter, r *http.Request)
func ForgotPasswordHandler ¶
func ForgotPasswordHandler(w http.ResponseWriter, r *http.Request, title string)
func HomeHandler ¶
func HomeHandler(w http.ResponseWriter, r *http.Request, title string)
func LoadTemplates ¶
func LoadTemplates() error
func LoginHandler ¶
func LoginHandler(w http.ResponseWriter, r *http.Request, title string)
func LogoutHandler ¶
func LogoutHandler(w http.ResponseWriter, r *http.Request, title string)
func SetAuthHandlers ¶
func SetAuthHandlers()
func SignupHandler ¶
func SignupHandler(w http.ResponseWriter, r *http.Request, title string)
Types ¶
Click to show internal directories.
Click to hide internal directories.