information

package
v0.5.21 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Modules = iota
	Module
	UI
	Screen
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ModuleInformation

type ModuleInformation struct {
	ID            string        // ID of the module
	Name          string        // Name of the module
	Ready         bool          // Is the module ready to receive orders
	Changes       []string      // List of changes the module can receive
	Heartbeat     time.Duration // Duration between each heartbeat, for debugging and logging purposes
	LastHeartbeat time.Time     // Last time the module sent a heartbeat, for debugging and logging purposes
}

type ModulesPayload added in v0.4.1

type ModulesPayload struct {
	Modules []ModuleInformation // Information about the active modules
}

type ScreenPayload added in v0.5.14

type ScreenPayload struct {
	Width  int
	Height int
	MaxFPS int
}

type UIPayload added in v0.5.14

type UIPayload struct {
	Channels []string
	Formats  []string
}

Jump to

Keyboard shortcuts

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