key

package
v0.0.0-...-12a582f Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrApiKeyNotFound = errors.New("no API key present, please add a valid API key")
	ErrApiKeyInvalid  = errors.New("we found and API key but it was invalid")
)

Functions

func ApiKey

func ApiKey(next http.Handler) http.Handler

ApiKey looks up an API key, validates it's existence and associates related developer/application config

Types

This section is empty.

Jump to

Keyboard shortcuts

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