settings

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New creates a new settings controller

Types

type Controller

type Controller struct {
	UI ControllerOptions
}

Controller handles the settings page

func (*Controller) Handler

func (c *Controller) Handler(w http.ResponseWriter, r *http.Request) string

Handler renders the controller output using the shared layout

func (*Controller) ServeHTTP

func (c *Controller) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP implements the http.Handler interface

type ControllerData

type ControllerData struct {
	Request      *http.Request
	ExcludedIPs  []string
	ErrorMessage string
}

ControllerData contains the data needed for the settings page

type ControllerOptions

type ControllerOptions = shared.ControllerOptions

ControllerOptions configures the settings controller views

Jump to

Keyboard shortcuts

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