Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VersionChecker ¶
type VersionChecker struct {
// contains filtered or unexported fields
}
VersionChecker can be used to check for updates on GitHub.
func NewVersionChecker ¶
func NewVersionChecker(owner string, repository string, version string) *VersionChecker
NewVersionChecker creates a new VersionChecker that can be used to check for updates on GitHub.
func (*VersionChecker) CheckForUpdates ¶
func (v *VersionChecker) CheckForUpdates() (*latest.CheckResponse, error)
CheckForUpdates checks for latest updates on GitHub.
Click to show internal directories.
Click to hide internal directories.