pages

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorPage

func ErrorPage(errorMessage string, basePath string) g.Node

ErrorPage renders an error page content (used within base layout).

Types

type LoginData

type LoginData struct {
	Redirect    string
	ShowSignup  bool
	IsFirstUser bool
}

LoginData holds form/data for login.

type LoginPageData

type LoginPageData struct {
	Title     string
	CSRFToken string
	BasePath  string
	Error     string
	Data      LoginData
}

LoginPageData holds data for the login page.

type SignupData

type SignupData struct {
	Redirect    string
	IsFirstUser bool
}

SignupData holds form/data for signup.

type SignupPageData

type SignupPageData struct {
	Title     string
	CSRFToken string
	BasePath  string
	Error     string
	Data      SignupData
}

SignupPageData holds data for the signup page.

Jump to

Keyboard shortcuts

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