auth

package
v0.0.0-...-b779c1c Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthHandler

type AuthHandler struct {
	// contains filtered or unexported fields
}

func NewAuthHandler

func NewAuthHandler(renderer renderer.Renderer, db *sql.DB) *AuthHandler

func (*AuthHandler) LoginHandler

func (h *AuthHandler) LoginHandler(w http.ResponseWriter, r *http.Request)

func (*AuthHandler) LoginPage

func (h *AuthHandler) LoginPage(w http.ResponseWriter, r *http.Request)

func (*AuthHandler) RegisterHandler

func (h *AuthHandler) RegisterHandler(w http.ResponseWriter, r *http.Request)

func (*AuthHandler) RegisterPage

func (h *AuthHandler) RegisterPage(w http.ResponseWriter, r *http.Request)

func (*AuthHandler) RegisterRoutes

func (h *AuthHandler) RegisterRoutes(r *mux.Router)

Jump to

Keyboard shortcuts

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