Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidCheckSum = errors.New("invalid checksum")
Functions ¶
This section is empty.
Types ¶
type Opt ¶
type Opt func(*upgrader)
func WithAssetDownloader ¶
func WithAssetDownloader(d asset.Downloader) Opt
func WithCheckSumDownloader ¶
func WithCheckSumDownloader(c checksum.Downloader) Opt
func WithCheckSumValidator ¶
func WithCheckSumValidator(c checksum.CheckSumValidator) Opt
Click to show internal directories.
Click to hide internal directories.