apikey

package
v1.6.0 Latest Latest
Warning

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

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

Documentation

Overview

Package apikey contains web controllers for listing and adding API Keys.

Index

Constants

View Source
const (
	// QueryKeySearch is the query key where the search query exists.
	QueryKeySearch = "q"
)

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(cacher cache.Cacher, db *database.Database, h *render.Renderer) *Controller

func (*Controller) HandleCreate

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

func (*Controller) HandleDisable added in v0.3.0

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

func (*Controller) HandleEnable added in v0.3.0

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

func (*Controller) HandleIndex

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

func (*Controller) HandleShow added in v0.3.0

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

HandleShow displays the API key.

func (*Controller) HandleUpdate added in v0.3.0

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

HandleUpdate handles an update.

Jump to

Keyboard shortcuts

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