account

package
v2.19.8 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Panel

type Panel struct {
	html.PanelProvider
	// contains filtered or unexported fields
}

Panel represents the account panel.

func NewPanel

func NewPanel(conf *config.Configuration, log *zerolog.Logger) (*Panel, error)

NewPanel creates a new account panel.

func (*Panel) Execute

func (panel *Panel) Execute(w http.ResponseWriter, r *http.Request, session *html.Session) error

Execute generates the HTTP output of the form and writes it to the response writer.

func (*Panel) GetActiveTemplate

func (panel *Panel) GetActiveTemplate(session *html.Session, path string) string

GetActiveTemplate returns the name of the active template.

func (*Panel) PreExecute

func (panel *Panel) PreExecute(session *html.Session, path string, w http.ResponseWriter, r *http.Request) (html.ExecutionResult, error)

PreExecute is called before the actual template is being executed.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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