Versions in this module Expand all Collapse all v1 v1.5.0 Jul 19, 2023 v1.4.0 Jul 13, 2023 v1.3.0 Jul 12, 2023 v1.2.0 Jul 12, 2023 v1.1.3 Jul 10, 2023 v1.1.2 Jul 8, 2023 v1.1.1 Jul 8, 2023 v1.1.0 Jun 28, 2023 v1.0.7 Jun 28, 2023 v1.0.6 Jun 27, 2023 v1.0.5 Jun 27, 2023 v1.0.4 Jun 27, 2023 v1.0.3 Jun 26, 2023 v1.0.2 Jun 25, 2023 v1.0.1 Jun 25, 2023 v1.0.0 Jun 25, 2023 Changes in this version + func GetFromHGAPI(ctx context.Context, oldVersion string, newVersion string, dest string, ...) error + func GetFromHGAPIFully(ctx context.Context, resVersion string, dst string, filters ...*regexp.Regexp) error + func GetFromHGAPIIncrementally(ctx context.Context, oldResVer string, newResVer string, dst string, ...) error + func GetRes(ctx context.Context, infos []Info, dst string) error + func GetResURL(resVersion string, res string) string + func GetResVersion() (string, error) + type AbInfo struct + AbSize int + Cid int + Hash string + MD5 string + Name string + Pid string + TotalSize int + Type string + type FullPack struct + AbSize int + Cid int + TotalSize int + Type string + type HotUpdateList struct + AbInfos []AbInfo + CountOfTypedRes int + FullPack FullPack + PackInfos []PackInfo + VersionID string + func GetRawResources(resVersion string) (HotUpdateList, error) + type Info struct + MD5 string + Name string + ResVersion string + func CalculateDifferences(new []Info, old []Info) []Info + func FilterResInfos(infos []Info, predicate func(i Info) bool) []Info + func FilterResInfosRegexp(infos []Info, r []*regexp.Regexp) []Info + func GetResInfos(resVersion string) ([]Info, error) + func (i *Info) CreateURL() string + type PackInfo struct + AbSize int + Cid int + Hash string + MD5 string + Name string + TotalSize int + type Version struct + ClientVersion string + ResVersion string + func GetRawVersion() (Version, error)