console

package
v0.0.0-...-39afe47 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: MIT Imports: 7 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConsole

func InitConsole()

InitConsole starts the dashboard's webserver in a go routine.

Types

type Template

type Template struct {
	// contains filtered or unexported fields
}

Template is a wrapper around all of the view templates being used in the console.

func (*Template) Render

func (t *Template) Render(w io.Writer, name string, data interface{}, c echo.Context) error

Render is called to fulfill the initial page load for the dashboard.

type WebsocketMessage

type WebsocketMessage struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

WebsocketMessage is representative of a single message being sent from the backend to the frontend, or the other direction.

Jump to

Keyboard shortcuts

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