frontend

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TplListAccessToken = "list_access_token.gohtml"
View Source
const TplLogin = "login.gohtml"

Variables

View Source
var StaticFS embed.FS

Functions

This section is empty.

Types

type ListAccessToken

type ListAccessToken struct {
	Clients map[string]string
	Title   string
	User    model.User
	Tokens  []*dao.OAuthAccessToken
}

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 interface{}) error

Jump to

Keyboard shortcuts

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