server

package
v0.0.0-...-fbb992c Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApiKeyCache map[string]ApiKeyData

Functions

func ApiKeyAuth

func ApiKeyAuth(next http.Handler) http.Handler

func StartWithGracefulShutdown

func StartWithGracefulShutdown()

Types

type ApiKeyData

type ApiKeyData struct {
	Accepted  bool
	AccountId string
	Username  string
	Role      string
}

Jump to

Keyboard shortcuts

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