admin

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package admin contains controllers for system wide administrative actions.

Index

Constants

This section is empty.

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(ctx context.Context, config *config.ServerConfig, db *database.Database, firebaseAuth *auth.Client, h *render.Renderer) *Controller

func (*Controller) HandleInfoShow added in v0.9.0

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

HandleInfoShow renders the list of system admins.

func (*Controller) HandleRealmsCreate added in v0.9.0

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

func (*Controller) HandleRealmsIndex added in v0.9.0

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

func (*Controller) HandleRealmsJoin added in v0.11.0

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

func (*Controller) HandleRealmsLeave added in v0.11.0

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

func (*Controller) HandleRealmsUpdate added in v0.10.0

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

func (*Controller) HandleSMSUpdate added in v0.10.0

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

HandleSMSUpdate creates or updates the SMS config.

func (*Controller) HandleUsersCreate added in v0.9.0

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

HandleUsersCreate creates a new system admin.

func (*Controller) HandleUsersDelete added in v0.9.0

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

HandleUsersDelete deletes a system admin.

func (*Controller) HandleUsersIndex added in v0.9.0

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

HandleUsersIndex renders the list of system admins.

Jump to

Keyboard shortcuts

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