frontend

package
v0.28.11 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 10 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
}

type TemplateEngine

type TemplateEngine struct {
	// contains filtered or unexported fields
}

func NewTemplateEngine

func NewTemplateEngine() (TemplateEngine, error)

func (TemplateEngine) Execute

func (e TemplateEngine) Execute(w io.Writer, name string, data any) error

Jump to

Keyboard shortcuts

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