admin

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 10 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 {
	panels.BasePanel
	html.PanelProvider
}

Panel represents the web interface panel of the accounts service administration.

func NewPanel

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

NewPanel creates a new administration panel.

func (*Panel) Execute

func (panel *Panel) Execute(w http.ResponseWriter, r *http.Request, session *html.Session, accounts *data.Accounts, operators *data.Operators) error

Execute generates the HTTP output of the panel 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

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