Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Green = color.New(color.FgHiGreen).SprintFunc()
Functions ¶
func PrintServerError ¶
func PrintServerError(errorOrMessage interface{})
func PrintUIError ¶
func PrintUIError(message string)
Types ¶
type ClientConfig ¶
type ClientConfig struct {
BgColor string `json:"bg-color"`
Count int `json:"count"`
Duration int `json:"duration"`
FontColor string `json:"font-color"`
FontSize int `json:"font-size"`
}
func ReadConfig ¶
func ReadConfig(path string) *ClientConfig
Click to show internal directories.
Click to hide internal directories.