view

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authorize

func Authorize(callback, returnTo string, user sqlc.User, client sqlc.Client) templ.Component

func Console

func Console(route, avatarURL string, child templ.Component) templ.Component

func Empty

func Empty() templ.Component

func Error

func Error(err string, code int) templ.Component

func Login

func Login(values LoginParams, err map[string]error) templ.Component

func LoginForm

func LoginForm(values LoginParams, err map[string]error) templ.Component

func Me

func Me(route string, avatarURL string, child templ.Component) templ.Component

func SignUp

func SignUp(values SignUpParams, err map[string]error) templ.Component

func SignUpForm

func SignUpForm(values SignUpParams, err map[string]error) templ.Component

Types

type LoginParams

type LoginParams struct {
	Email     string `form:"email"`
	Password  string `form:"password"`
	ReturnTo  string
	Providers conf.Providers
}

type SignUpParams

type SignUpParams struct {
	Email           string `form:"email"`
	Password        string `form:"password"`
	ConfirmPassword string `form:"confirm_password"`
	TurnstileToken  string `form:"cf-turnstile-response"`
	ReturnTo        string
	Providers       conf.Providers
	Captcha         conf.Captcha
}

Directories

Path Synopsis
templ: version: v0.2.648
templ: version: v0.2.648
templ: version: v0.2.648
templ: version: v0.2.648
console
templ: version: v0.2.648
templ: version: v0.2.648
icon
templ: version: v0.2.648
templ: version: v0.2.648
me
templ: version: v0.2.648
templ: version: v0.2.648

Jump to

Keyboard shortcuts

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