package
Version:
v0.2.1
Opens a new window with list of versions in this module.
Published: Mar 3, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Order []string `mapstructure:"order"`
Hostname *Hostname `mapstructure:"hostname"`
Uptime *Uptime `mapstructure:"uptime"`
SysInfo *SysInfo `mapstructure:"sysinfo"`
Zpool *Zpool `mapstructure:"zpool"`
DiskSpace *DiskSpace `mapstructure:"diskspace"`
Docker *Docker `mapstructure:"docker"`
Smart *Smart `mapstructure:"smart"`
Systemd *Systemd `mapstructure:"systemd"`
Plex *Plex `mapstructure:"plex"`
}
type DiskSpace struct {
Disabled bool `mapstructure:"disabled"`
ExcludedFS []string `mapstructure:"excluded_fs"`
}
type Docker struct {
Disabled bool `mapstructure:"disabled"`
IgnoreContainers []string `mapstructure:"ignore_containers"`
}
type Hostname struct {
Disabled bool `mapstructure:"disabled"`
Color string `mapstructure:"color"`
Figlet bool `mapstructure:"figlet"`
FigletFont string `mapstructure:"figlet_font"`
FigletFontDir string `mapstructure:"figlet_font_dir"`
}
type Plex struct {
Disabled bool `mapstructure:"disabled"`
Token string `mapstructure:"token"`
Server string `mapstructure:"server"`
TLSVerify bool `mapstructure:"tls_verify"`
Timeout int `mapstructure:"timeout"`
}
type Smart struct {
Disabled bool `mapstructure:"disabled"`
Disks []string `mapstructure:"disks"`
}
type SysInfo struct {
Disabled bool `mapstructure:"disabled"`
UptimePrecision int `mapstructure:"uptime_precision"`
}
type Systemd struct {
Disabled bool `mapstructure:"disabled"`
Units []string `mapstructure:"units"`
}
type Uptime struct {
Disabled bool `mapstructure:"disabled"`
Precision int `mapstructure:"precision"`
}
type Zpool struct {
Disabled bool `mapstructure:"disabled"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.