data

package
v0.0.0-...-d96fec9 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminPageData

type AdminPageData struct {
	Header HeaderData
	Flash  FlashData
	User   models.User
}

type AdminUsersPageData

type AdminUsersPageData struct {
	Header HeaderData
	Flash  FlashData
	User   models.User
	Users  []models.User
}

type FlashData

type FlashData struct {
	Success string
	Error   string
}

type HeaderData

type HeaderData struct {
	Title       string
	SubTitle    string
	MoreStyles  []string
	MoreScripts []string
}

type IndexPageData

type IndexPageData struct {
	Header      HeaderData
	Flash       FlashData
	Leaderboard []models.User
	User        models.User
}

type LoginPageData

type LoginPageData struct {
	Header HeaderData
	Flash  FlashData
}

type MatchPageData

type MatchPageData struct {
	Header HeaderData
	Flash  FlashData
	User   models.User
	Match  models.Match
}

type MatchesPageData

type MatchesPageData struct {
	Header  HeaderData
	Flash   FlashData
	User    models.User
	Matches []*models.Match
}

type SignupPageData

type SignupPageData struct {
	Header HeaderData
	Flash  FlashData
	Error  string
}

Jump to

Keyboard shortcuts

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