Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultLocalhostConfig ¶ added in v0.8.0
func GetDefaultLocalhostConfig() (*typesv1.ServeLocalhostConfig, error)
func ParseColorMode ¶ added in v0.8.0
func ParseColorMode(colorMode string) (typesv1.FormatConfig_ColorMode, error)
func WriteConfigFile ¶ added in v0.8.0
Types ¶
type Config ¶
type Config struct {
Version int `json:"version"`
*CurrentConfig
// contains filtered or unexported fields
}
func GetDefaultConfig ¶ added in v0.8.0
func ReadConfigFile ¶
func (*Config) UnmarshalJSON ¶ added in v0.8.0
type CurrentConfig ¶ added in v0.8.0
type CurrentConfig = typesv1.LocalhostConfig
Click to show internal directories.
Click to hide internal directories.