Documentation
¶
Index ¶
Constants ¶
View Source
const ( // AttrUpdaterLatestVersion ... AttrUpdaterLatestVersion = "latest_version" // AttrUpdaterLatestVersionTime ... AttrUpdaterLatestVersionTime = "latest_version_time" // AttrUpdaterLatestLatestDownloadUrl ... AttrUpdaterLatestLatestDownloadUrl = "latest_download_url" // AttrUpdaterLatestCheck ... AttrUpdaterLatestCheck = "last_check" // Name ... Name = "updater" // EntityUpdater ... EntityUpdater = string(Name) )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Actor ¶
type Actor struct {
entity_manager.BaseActor
// contains filtered or unexported fields
}
Actor ...
func NewActor ¶
func NewActor(entityManager entity_manager.EntityManager, eventBus bus.Bus) *Actor
NewActor ...
type GithubRelease ¶
type GithubRelease struct {
Name string `json:"name"`
BrowserDownloadUrl string `json:"browser_download_url"`
}
GithubRelease ...
type GithubReleaseLatest ¶
type GithubReleaseLatest struct {
TagName string `json:"tag_name"`
CreatedAt time.Time `json:"created_at"`
Assets []GithubRelease `json:"assets"`
}
GithubReleaseLatest ...
Click to show internal directories.
Click to hide internal directories.