frontend

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const TplCreateAccessToken = "create-access-token.gohtml"
View Source
const TplListAccessToken = "list-access-token.gohtml"
View Source
const TplLogin = "login.gohtml"

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAccessToken added in v0.18.0

type CreateAccessToken struct {
	User model.User
}

type ListAccessToken

type ListAccessToken struct {
	Clients map[string]oauth.Client
	Title   string
	User    model.User
	Tokens  []domain.AccessToken
}

type Login added in v0.16.1

type Login struct {
	Title            string
	User             model.User
	TurnstileSiteKey string
}

type TemplateEngine

type TemplateEngine interface {
	Execute(w io.Writer, name string, data any) error
}

func NewTemplateEngine

func NewTemplateEngine() (TemplateEngine, error)

Jump to

Keyboard shortcuts

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