handlers

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: AGPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminCheck added in v1.1.0

func AdminCheck(logger *zap.Logger, secret string, h http.Handler) http.Handler

func BasicAuthOnly added in v1.1.0

func BasicAuthOnly(logger *zap.Logger, userBackend pkg.UserBackend, sleepPause int) http.Handler

func ClearCache added in v1.2.0

func ClearCache(logger *zap.Logger, ub pkg.UserBackend) http.Handler

func SetExpiration added in v1.1.0

func SetExpiration(logger *zap.Logger, ub pkg.UserBackend) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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