authkey

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const AuthKeyEnv = "AUTH_KEY"
View Source
const AuthKeyHeader = "X-AuthKey"

Variables

This section is empty.

Functions

func GetAuthKey

func GetAuthKey() string

func SetAuthKeyFromEnv

func SetAuthKeyFromEnv() error

func ValidateIncomingRequest

func ValidateIncomingRequest(r *http.Request) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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