handler

package
v0.0.0-...-5591888 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2024 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SignupError = errors.New("One or more errors prevented this user from being created. Please review the errors in the form below.")

Functions

func DashboardHandler

func DashboardHandler() dashboardHandler

func FetchFlash

func FetchFlash(next http.Handler) http.Handler

func FetchSession

func FetchSession(next http.Handler) http.Handler

func FetchUserFromSession

func FetchUserFromSession(db queries.DBTX) func(http.Handler) http.Handler

func RedirectIfAuthenticated

func RedirectIfAuthenticated(next http.Handler) http.Handler

func RequireAuthenticatedUser

func RequireAuthenticatedUser(next http.Handler) http.Handler

func Router

func Router(db queries.DBTX) http.Handler

func SessionHandler

func SessionHandler(db queries.DBTX) sessionHandler

func UserHandler

func UserHandler(db queries.DBTX) userHandler

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL