Versions in this module Expand all Collapse all v2 v2.0.0 Sep 16, 2025 Changes in this version + var ErrorStyle = ...(lipgloss.Color("#FF0000")) + var SuccessStyle = ...(lipgloss.Color("#00FF00")) + var UrlRegex = regexp.MustCompile(`^https?:\/\/([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(:[0-9]+)?(\/.*)?$`) + func FormatDomain(domain string) (string, error) + func IsEmpty(str string) bool + func IsValidInstance(url string) (bool, error) + func PrintErr(str string) error + func PrintError(err error) error + type ConfigResponse struct + Data ConfigResponseData + Message string + Status int + type ConfigResponseData struct + AuthorizeCustomCode bool + Domain string + Expirations []ConfigResponseExpiration + Instance string + SSL bool + func GetConfig(url string) (ConfigResponseData, error) + type ConfigResponseExpiration struct + Minutes int + Name string