Documentation
¶
Overview ¶
Package update retrieves and installs kardbrd releases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Client *http.Client
LatestReleaseURL string
ExecutablePath func() (string, error)
GOOS string
GOARCH string
}
Config contains the updater's external dependencies. The fields exist so callers can test updates without contacting GitHub or replacing themselves.
Click to show internal directories.
Click to hide internal directories.