Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
func Apply(rq *RequesParam) error
func Downloader ¶
func Downloader(rq *RequesParam) (io.ReadCloser, error)
Types ¶
type RequesParam ¶
type UpdateInfo ¶
type UpdateInfo struct {
BinaryUrl string `note:"下载地址"`
Message string `note:"错误信息"`
Version string `note:"最新版本"`
}
func CheckVersion ¶
func CheckVersion(rq *RequesParam) (*UpdateInfo, error)
Click to show internal directories.
Click to hide internal directories.