auth

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APIKeys []string

APIKeys holds the keys for authorized api access

Functions

func IsAuthorized

func IsAuthorized(key string) bool

IsAuthorized checks that the provided key matches the keys provided via the configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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