Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigPath ¶
func GetLogPath ¶
Types ¶
type Config ¶
type Config struct {
LiveRetryTimeout int `toml:"live_retry_timeout,omitempty"`
Lang []string `toml:"preferred_languages,omitempty"`
CheckUpdate bool `toml:"check_updates,omitempty"`
SaveLogs bool `toml:"save_logs,omitempty,omitempty"`
LogLocation string `toml:"log_location,omitempty"`
CustomPlaybackOptions []cmd.Command `json:"custom_playback_options" toml:"custom_playback_options,omitempty"`
LiveSessionHooks []cmd.MultiCommand `toml:"live_session_hooks,omitempty"`
MultiCommand []cmd.MultiCommand `json:"multi_commands" toml:"multi_commands,omitempty"`
HorizontalLayout bool `toml:"horizontal_layout,omitempty"`
Theme Theme `toml:"theme,omitempty"`
TreeRatio int `toml:"tree_ratio,omitempty"`
OutputRatio int `toml:"output_ratio,omitempty"`
TerminalWrap bool `toml:"terminal_wrap,omitempty"`
DisableTeamColors bool `toml:"disable_team_colors,omitempty"`
EnableMouse bool `toml:"enable_mouse,omitempty"`
}
func LoadConfig ¶
type ConversionConfig ¶ added in v2.5.0
type ConversionConfig struct {
CustomPlaybackOptions []cmd.Command `toml:"custom_playback_options,omitempty"`
MultiCommand []cmd.MultiCommand `toml:"multi_commands,omitempty"`
}
type Theme ¶
type Theme struct {
BackgroundColor string `toml:"background_color"`
BorderColor string `toml:"border_color"`
CategoryNodeColor string `toml:"category_node_color"`
FolderNodeColor string `toml:"folder_node_color"`
ItemNodeColor string `toml:"item_node_color"`
ActionNodeColor string `toml:"action_node_color"`
LoadingColor string `toml:"loading_color"`
LiveColor string `toml:"live_color"`
UpdateColor string `toml:"update_color"`
NoContentColor string `toml:"no_content_color"`
InfoColor string `toml:"info_color"`
ErrorColor string `toml:"error_color"`
TerminalAccentColor string `toml:"terminal_accent_color"`
TerminalTextColor string `toml:"terminal_text_color"`
MultiCommandColor string `toml:"multi_command_color"`
}
Click to show internal directories.
Click to hide internal directories.