Versions in this module Expand all Collapse all v1 v1.0.0 Aug 11, 2026 Changes in this version + const CharError + const CharInfo + const CharLink + const CharRocket + const CharSuccess + const CharWarning + func ColorString(c Color, s string) string + func InstallRoot() string + func PollNgrokAPI(apiURL string, timeout time.Duration) (string, error) + func PrintError(msg string) + func PrintHeader(title string) + func PrintInfo(msg string) + func PrintLink(url string) + func PrintSeparator() + func PrintSuccess(msg string) + func PrintWarning(msg string) + func ProviderRegistry() map[string]Provider + type CloudflaredProvider struct + func (CloudflaredProvider) Args(port int) []string + func (CloudflaredProvider) Confidence() string + func (CloudflaredProvider) FormatURL(m string) string + func (CloudflaredProvider) Hint() string + func (CloudflaredProvider) LocalAPIURL() string + func (CloudflaredProvider) Name() string + func (CloudflaredProvider) Prepare(plat Platform) (string, error) + func (CloudflaredProvider) URLPattern() *regexp.Regexp + func (CloudflaredProvider) UsesLocalAPI() bool + type Color string + const Blue + const Bold + const Cyan + const Green + const Magenta + const Red + const Reset + const White + const Yellow + type LocalTunnelProvider struct + func (LocalTunnelProvider) Args(port int) []string + func (LocalTunnelProvider) Confidence() string + func (LocalTunnelProvider) FormatURL(m string) string + func (LocalTunnelProvider) Hint() string + func (LocalTunnelProvider) LocalAPIURL() string + func (LocalTunnelProvider) Name() string + func (LocalTunnelProvider) Prepare(plat Platform) (string, error) + func (LocalTunnelProvider) URLPattern() *regexp.Regexp + func (LocalTunnelProvider) UsesLocalAPI() bool + type NgrokProvider struct + func (NgrokProvider) Args(port int) []string + func (NgrokProvider) Confidence() string + func (NgrokProvider) FormatURL(m string) string + func (NgrokProvider) Hint() string + func (NgrokProvider) LocalAPIURL() string + func (NgrokProvider) Name() string + func (NgrokProvider) Prepare(plat Platform) (string, error) + func (NgrokProvider) URLPattern() *regexp.Regexp + func (NgrokProvider) UsesLocalAPI() bool + type PinggyProvider struct + func (PinggyProvider) Args(port int) []string + func (PinggyProvider) Confidence() string + func (PinggyProvider) FormatURL(m string) string + func (PinggyProvider) Hint() string + func (PinggyProvider) LocalAPIURL() string + func (PinggyProvider) Name() string + func (PinggyProvider) Prepare(plat Platform) (string, error) + func (PinggyProvider) URLPattern() *regexp.Regexp + func (PinggyProvider) UsesLocalAPI() bool + type Platform struct + Arch string + IsTermux bool + IsWindows bool + OS string + RealOS string + func DetectPlatform() Platform + type Provider interface + Args func(port int) []string + Confidence func() string + FormatURL func(match string) string + Hint func() string + LocalAPIURL func() string + Name func() string + Prepare func(plat Platform) (string, error) + URLPattern func() *regexp.Regexp + UsesLocalAPI func() bool