apikey

package
v0.4.33 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidV1AccountKey

func IsValidV1AccountKey(apikey string) bool

func IsValidV1WorkerKey

func IsValidV1WorkerKey(apiKey string) bool

func NewV1AccountKey

func NewV1AccountKey() string

func NewV1WorkerKey

func NewV1WorkerKey() string

Types

type ApiKeyType

type ApiKeyType string
const (
	AccountApiKey ApiKeyType = "account"
	WorkerApiKey  ApiKeyType = "worker"
)

Jump to

Keyboard shortcuts

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