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
Click to show internal directories.
Click to hide internal directories.