view_auth_route

package
v0.0.0-...-203292a Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

templ: version: v0.2.543

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthLayoutTemplate

func AuthLayoutTemplate(props AuthLayoutTemplateProps) templ.Component

func GetAuthSubroutes

func GetAuthSubroutes(group *echo.Group)

func SignInFormTemplate

func SignInFormTemplate() templ.Component

func SignInGetHandler

func SignInGetHandler(c echo.Context) error

func SignInPostHandler

func SignInPostHandler(c echo.Context) error

func SignUpFormTemplate

func SignUpFormTemplate() templ.Component

func SignUpGetHandler

func SignUpGetHandler(c echo.Context) error

func SignUpPostHandler

func SignUpPostHandler(c echo.Context) error

Types

type AuthLayoutTemplateProps

type AuthLayoutTemplateProps struct {
	Title                string
	Subtitle             string
	SwitchAuthPrefixText string
	SwitchAuthPath       string
	SwitchAuthActionText string
	FormComponents       templ.Component
	Message              templ.Component
}

type NewUserCredentials

type NewUserCredentials struct {
	Email           string `form:"Email"`
	Password        string `form:"Password"`
	ConfirmPassword string `form:"Confirm Password"`
}

type UserCredentials

type UserCredentials struct {
	Email    string `form:"Email"`
	Password string `form:"Password"`
}

Jump to

Keyboard shortcuts

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