config

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColorString

type ColorString string

func (*ColorString) UnmarshalJSON

func (c *ColorString) UnmarshalJSON(data []byte) error

type Colors

type Colors struct {
	Selected ColorString `json:"selected" yaml:"selected"`
	CPULimit ColorString `json:"cpuLimit" yaml:"cpuLimit"`
	CPUUsage ColorString `json:"cpuUsage" yaml:"cpuUsage"`
	MemLimit ColorString `json:"memLimit" yaml:"memLimit"`
	MemUsage ColorString `json:"memUsage" yaml:"memUsage"`
}

func GetTheme

func GetTheme() Colors

type Config

type Config struct {
	Theme Colors `json:"theme" yaml:"theme"`
}

Jump to

Keyboard shortcuts

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