template

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppForm

type AppForm struct {
	template.BasePage
	template.Form

	App *oauth2.App
}

func (*AppForm) Actions

func (p *AppForm) Actions() string

func (*AppForm) Body

func (p *AppForm) Body() string

func (*AppForm) Header

func (p *AppForm) Header() string

func (*AppForm) Navigation

func (p *AppForm) Navigation() string

func (*AppForm) StreamActions

func (p *AppForm) StreamActions(qw422016 *qt422016.Writer)

func (*AppForm) StreamBody

func (p *AppForm) StreamBody(qw422016 *qt422016.Writer)

func (*AppForm) StreamHeader

func (p *AppForm) StreamHeader(qw422016 *qt422016.Writer)

func (*AppForm) StreamNavigation

func (p *AppForm) StreamNavigation(qw422016 *qt422016.Writer)

func (*AppForm) StreamTitle

func (p *AppForm) StreamTitle(qw422016 *qt422016.Writer)

func (*AppForm) Title

func (p *AppForm) Title() string

func (*AppForm) WriteActions

func (p *AppForm) WriteActions(qq422016 qtio422016.Writer)

func (*AppForm) WriteBody

func (p *AppForm) WriteBody(qq422016 qtio422016.Writer)

func (*AppForm) WriteHeader

func (p *AppForm) WriteHeader(qq422016 qtio422016.Writer)

func (*AppForm) WriteNavigation

func (p *AppForm) WriteNavigation(qq422016 qtio422016.Writer)

func (*AppForm) WriteTitle

func (p *AppForm) WriteTitle(qq422016 qtio422016.Writer)

type AppIndex

type AppIndex struct {
	template.BasePage

	Apps []*oauth2.App
}

func (*AppIndex) Actions

func (p *AppIndex) Actions() string

func (*AppIndex) Body

func (p *AppIndex) Body() string

func (*AppIndex) Header

func (p *AppIndex) Header() string

func (*AppIndex) StreamActions

func (p *AppIndex) StreamActions(qw422016 *qt422016.Writer)

func (*AppIndex) StreamBody

func (p *AppIndex) StreamBody(qw422016 *qt422016.Writer)

func (*AppIndex) StreamHeader

func (p *AppIndex) StreamHeader(qw422016 *qt422016.Writer)

func (*AppIndex) StreamTitle

func (p *AppIndex) StreamTitle(qw422016 *qt422016.Writer)

func (*AppIndex) Title

func (p *AppIndex) Title() string

func (*AppIndex) WriteActions

func (p *AppIndex) WriteActions(qq422016 qtio422016.Writer)

func (*AppIndex) WriteBody

func (p *AppIndex) WriteBody(qq422016 qtio422016.Writer)

func (*AppIndex) WriteHeader

func (p *AppIndex) WriteHeader(qq422016 qtio422016.Writer)

func (*AppIndex) WriteTitle

func (p *AppIndex) WriteTitle(qq422016 qtio422016.Writer)

type Auth

type Auth struct {
	template.Form

	User        *user.User
	Author      *user.User
	Name        string
	ClientID    string
	RedirectURI string
	State       string
	Scope       oauth2.Scope
}

func (*Auth) Body

func (p *Auth) Body() string

func (*Auth) Footer

func (p *Auth) Footer() string

func (*Auth) StreamBody

func (p *Auth) StreamBody(qw422016 *qt422016.Writer)

func (*Auth) StreamFooter

func (p *Auth) StreamFooter(qw422016 *qt422016.Writer)

func (*Auth) StreamTitle

func (p *Auth) StreamTitle(qw422016 *qt422016.Writer)

func (*Auth) Title

func (p *Auth) Title() string

func (*Auth) WriteBody

func (p *Auth) WriteBody(qq422016 qtio422016.Writer)

func (*Auth) WriteFooter

func (p *Auth) WriteFooter(qq422016 qtio422016.Writer)

func (*Auth) WriteTitle

func (p *Auth) WriteTitle(qq422016 qtio422016.Writer)

type Connection

type Connection struct {
	template.BasePage

	CSRF  htmltemplate.HTML
	Token *oauth2.Token
}

func (*Connection) Actions

func (p *Connection) Actions() string

func (*Connection) Body

func (p *Connection) Body() string

func (*Connection) Header

func (p *Connection) Header() string

func (*Connection) Navigation

func (p *Connection) Navigation() string

func (*Connection) StreamActions

func (p *Connection) StreamActions(qw422016 *qt422016.Writer)

func (*Connection) StreamBody

func (p *Connection) StreamBody(qw422016 *qt422016.Writer)

func (*Connection) StreamHeader

func (p *Connection) StreamHeader(qw422016 *qt422016.Writer)

func (*Connection) StreamNavigation

func (p *Connection) StreamNavigation(qw422016 *qt422016.Writer)

func (*Connection) StreamTitle

func (p *Connection) StreamTitle(qw422016 *qt422016.Writer)

func (*Connection) Title

func (p *Connection) Title() string

func (*Connection) WriteActions

func (p *Connection) WriteActions(qq422016 qtio422016.Writer)

func (*Connection) WriteBody

func (p *Connection) WriteBody(qq422016 qtio422016.Writer)

func (*Connection) WriteHeader

func (p *Connection) WriteHeader(qq422016 qtio422016.Writer)

func (*Connection) WriteNavigation

func (p *Connection) WriteNavigation(qq422016 qtio422016.Writer)

func (*Connection) WriteTitle

func (p *Connection) WriteTitle(qq422016 qtio422016.Writer)

type ConnectionIndex

type ConnectionIndex struct {
	template.BasePage

	Tokens []*oauth2.Token
}

func (*ConnectionIndex) Actions

func (p *ConnectionIndex) Actions() string

func (*ConnectionIndex) Body

func (p *ConnectionIndex) Body() string

func (*ConnectionIndex) Header

func (p *ConnectionIndex) Header() string

func (*ConnectionIndex) StreamActions

func (p *ConnectionIndex) StreamActions(qw422016 *qt422016.Writer)

func (*ConnectionIndex) StreamBody

func (p *ConnectionIndex) StreamBody(qw422016 *qt422016.Writer)

func (*ConnectionIndex) StreamHeader

func (p *ConnectionIndex) StreamHeader(qw422016 *qt422016.Writer)

func (*ConnectionIndex) StreamTitle

func (p *ConnectionIndex) StreamTitle(qw422016 *qt422016.Writer)

func (*ConnectionIndex) Title

func (p *ConnectionIndex) Title() string

func (*ConnectionIndex) WriteActions

func (p *ConnectionIndex) WriteActions(qq422016 qtio422016.Writer)

func (*ConnectionIndex) WriteBody

func (p *ConnectionIndex) WriteBody(qq422016 qtio422016.Writer)

func (*ConnectionIndex) WriteHeader

func (p *ConnectionIndex) WriteHeader(qq422016 qtio422016.Writer)

func (*ConnectionIndex) WriteTitle

func (p *ConnectionIndex) WriteTitle(qq422016 qtio422016.Writer)

type TokenForm

type TokenForm struct {
	template.BasePage
	template.Form

	Token  *oauth2.Token
	Scopes map[string]struct{}
}

func (*TokenForm) Actions

func (p *TokenForm) Actions() string

func (*TokenForm) Body

func (p *TokenForm) Body() string

func (*TokenForm) Header

func (p *TokenForm) Header() string

func (*TokenForm) Navigation

func (p *TokenForm) Navigation() string

func (*TokenForm) StreamActions

func (p *TokenForm) StreamActions(qw422016 *qt422016.Writer)

func (*TokenForm) StreamBody

func (p *TokenForm) StreamBody(qw422016 *qt422016.Writer)

func (*TokenForm) StreamHeader

func (p *TokenForm) StreamHeader(qw422016 *qt422016.Writer)

func (*TokenForm) StreamNavigation

func (p *TokenForm) StreamNavigation(qw422016 *qt422016.Writer)

func (*TokenForm) StreamTitle

func (p *TokenForm) StreamTitle(qw422016 *qt422016.Writer)

func (*TokenForm) Title

func (p *TokenForm) Title() string

func (*TokenForm) WriteActions

func (p *TokenForm) WriteActions(qq422016 qtio422016.Writer)

func (*TokenForm) WriteBody

func (p *TokenForm) WriteBody(qq422016 qtio422016.Writer)

func (*TokenForm) WriteHeader

func (p *TokenForm) WriteHeader(qq422016 qtio422016.Writer)

func (*TokenForm) WriteNavigation

func (p *TokenForm) WriteNavigation(qq422016 qtio422016.Writer)

func (*TokenForm) WriteTitle

func (p *TokenForm) WriteTitle(qq422016 qtio422016.Writer)

type TokenIndex

type TokenIndex struct {
	CSRF   htmltemplate.HTML
	Tokens []*oauth2.Token
}

func (*TokenIndex) Actions

func (p *TokenIndex) Actions() string

func (*TokenIndex) Body

func (p *TokenIndex) Body() string

func (*TokenIndex) Header

func (p *TokenIndex) Header() string

func (*TokenIndex) StreamActions

func (p *TokenIndex) StreamActions(qw422016 *qt422016.Writer)

func (*TokenIndex) StreamBody

func (p *TokenIndex) StreamBody(qw422016 *qt422016.Writer)

func (*TokenIndex) StreamHeader

func (p *TokenIndex) StreamHeader(qw422016 *qt422016.Writer)

func (*TokenIndex) StreamTitle

func (p *TokenIndex) StreamTitle(qw422016 *qt422016.Writer)

func (*TokenIndex) Title

func (p *TokenIndex) Title() string

func (*TokenIndex) WriteActions

func (p *TokenIndex) WriteActions(qq422016 qtio422016.Writer)

func (*TokenIndex) WriteBody

func (p *TokenIndex) WriteBody(qq422016 qtio422016.Writer)

func (*TokenIndex) WriteHeader

func (p *TokenIndex) WriteHeader(qq422016 qtio422016.Writer)

func (*TokenIndex) WriteTitle

func (p *TokenIndex) WriteTitle(qq422016 qtio422016.Writer)

Jump to

Keyboard shortcuts

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