user_pages

package
v0.0.0-...-d131206 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

templ: version: v0.2.696

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login

func Login(model LoginModel) templ.Component

func Register

func Register(model RegisterModel) templ.Component

Types

type LoginModel

type LoginModel struct {
	Error bool
}

type RegisterModel

type RegisterModel struct {
	UserExists bool
}

type UserLogin

type UserLogin struct {
	Username string
	Password string
}

func UserLoginFromRequest

func UserLoginFromRequest(r *http.Request) UserLogin

Jump to

Keyboard shortcuts

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