user

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteUser

func DeleteUser(w http.ResponseWriter, r *http.Request)

DeleteUser renders the user deletion dialog.

func EditUser

func EditUser(w http.ResponseWriter, r *http.Request)

EditUser renders the user creation or change dialog.

func Login

func Login(w http.ResponseWriter, r *http.Request)

Login serves the login page.

func Logout

func Logout(w http.ResponseWriter, r *http.Request)

Logout signs out the user and redirects to the home page.

func User

func User(w http.ResponseWriter, r *http.Request)

User renders the user management dialog.

Types

type LoginForm

type LoginForm struct {
	Lang  string
	Email string
	Error string
}

LoginForm is the login form data and errors.

Jump to

Keyboard shortcuts

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