dashboard

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

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

View Source
const (
	TypeDesktop = "desktop"
)

dashboard types

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ID          string               `json:"id" yaml:"id"`
	Type        string               `json:"type" yaml:"type"`
	Title       string               `json:"title" yaml:"title"`
	Description string               `json:"description" yaml:"description"`
	Favorite    bool                 `json:"favorite" yaml:"favorite"`
	Disabled    bool                 `json:"disabled" yaml:"disabled"`
	Labels      cmap.CustomStringMap `json:"labels" yaml:"labels"`
	Widgets     []Widget             `json:"widgets" yaml:"widgets"`
	ModifiedOn  time.Time            `json:"modifiedOn" yaml:"modifiedOn"`
}

Config for dashboard

type Layout

type Layout struct {
	Width  int `json:"w" yaml:"w"`
	Height int `json:"h" yaml:"h"`
	X      int `json:"x" yaml:"x"`
	Y      int `json:"y" yaml:"y"`
}

Layout details

type Widget

type Widget struct {
	ID                string         `json:"id" yaml:"id"`
	Title             string         `json:"title" yaml:"title"`
	ShowTitle         bool           `json:"showTitle" yaml:"showTitle"`
	ScrollbarDisabled bool           `json:"scrollbarDisabled" yaml:"scrollbarDisabled"`
	Static            bool           `json:"static" yaml:"static"`
	Type              string         `json:"type" yaml:"type"`
	Layout            Layout         `json:"layout" yaml:"layout"`
	Config            cmap.CustomMap `json:"config" yaml:"config"`
}

Widget details

Jump to

Keyboard shortcuts

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