Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSampleConfig ¶
func GetSampleConfig() string
func InitConfigFiles ¶
func LoadConfig ¶
func LoadConfig()
Types ¶
type MainConfig ¶
type MainConfig struct { DefaultServer string `mapstructure:"default_server"` DefaultLimit int `mapstructure:"default_limit"` DefaultMacro string `mapstructure:"default_macro"` Readonly bool `mapstructure:"readonly"` ZenMode bool `mapstructure:"zen_mode"` Debug bool `mapstructure:"debug"` Refresh RefreshConfig `mapstructure:"refresh"` ShowIDs bool `mapstructure:"show_ids"` DateFormat string `mapstructure:"date_format"` DatetimeFormat string `mapstructure:"datetime_format"` NoHeader bool `mapstructure:"no_header"` NoPassword bool `mapstructure:"no_password"` Timeout int `mapstructure:"timeout"` }
type RefreshConfig ¶
type Skin ¶
type Skin struct { ModalFgColor tcell.Color MainFgColor tcell.Color SecondaryFgColor tcell.Color OptionalFgColor tcell.Color FieldLabelColor tcell.Color FieldValueColor tcell.Color FieldColonColor tcell.Color BackgroundColor tcell.Color ModalBackgroundColor tcell.Color BorderColor tcell.Color FgErrorColor tcell.Color FgSuccessColor tcell.Color TitleColor tcell.Color TableBodyFgColor tcell.Color TableHeaderFgColor tcell.Color TableSelectedFgColor tcell.Color StatesColor map[string]tcell.Color }
Click to show internal directories.
Click to hide internal directories.