Documentation ¶
Index ¶
- func CheckUpdate() (*selfupdate.Release, bool)
- func CopyToClipboard(text string)
- func DoUpdate(latest *selfupdate.Release)
- func ForkExec() error
- func OpenBrowser(url string)
- func SetupLogging()
- func Version() string
- func VersionInfo() goversioninfo.VersionInfo
- type Idler
- type JSONTime
- type RLHTTPClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUpdate ¶
func CheckUpdate() (*selfupdate.Release, bool)
func CopyToClipboard ¶
func CopyToClipboard(text string)
func DoUpdate ¶
func DoUpdate(latest *selfupdate.Release)
func OpenBrowser ¶
func OpenBrowser(url string)
func SetupLogging ¶
func SetupLogging()
func VersionInfo ¶ added in v0.5.2
func VersionInfo() goversioninfo.VersionInfo
Types ¶
type RLHTTPClient ¶
RLHTTPClient Rate Limited HTTP Client.
func NewRateLimitedClient ¶
func NewRateLimitedClient(rl *rate.Limiter) *RLHTTPClient
NewRateLimitedClient return http client with a rateLimiter.
Click to show internal directories.
Click to hide internal directories.