realmadmin

package
Version: v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package realmadmin contains web controllers for changing realm settings.

Index

Constants

View Source
const (
	// QueryFromSearch is the query key for a starting time.
	QueryFromSearch = "from"

	// QueryToSearch is the query key for an ending time.
	QueryToSearch = "to"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func New

func New(config *config.ServerConfig, db *database.Database, limiter limiter.Store, h *render.Renderer, cacher cache.Cacher) *Controller

func (*Controller) HandleDisableExpress added in v0.6.0

func (c *Controller) HandleDisableExpress() http.Handler

func (*Controller) HandleEnableExpress added in v0.6.0

func (c *Controller) HandleEnableExpress() http.Handler

func (*Controller) HandleEvents added in v0.11.0

func (c *Controller) HandleEvents() http.Handler

func (*Controller) HandleSettings added in v0.9.0

func (c *Controller) HandleSettings() http.Handler

func (*Controller) HandleStats added in v0.14.0

func (c *Controller) HandleStats() http.Handler

type TemplateData added in v0.19.0

type TemplateData struct {
	Label string
	Value string
	Index int
}

Jump to

Keyboard shortcuts

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