console

package
v0.0.0-...-459d6a5 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokenAuth *jwtauth.JWTAuth

TokenAuth holds the JWT authentication token

Functions

func FetchPublicKeyFromURL

func FetchPublicKeyFromURL(url string) error

FetchPublicKeyFromURL fetches the public key from a JWKS URL and initializes TokenAuth

func SetupRoutes

func SetupRoutes(consoleLogsPath string) *chi.Mux

Types

type ConsolesResponse

type ConsolesResponse struct {
	Consoles []nodes.NodeConsoleInfo `json:"consoles"`
}

type HealthResponse

type HealthResponse struct {
	NumberConsoles     string `json:"consoles"`
	LastHardwareUpdate string `json:"hardwareupdate"`
}

HealthResponse - used to report service health stats

Jump to

Keyboard shortcuts

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