Versions in this module Expand all Collapse all v0 v0.5.1 Jan 15, 2023 Changes in this version + const OptUseCASContainer + const OptUseTACTNetwork + func DefaultDownloader(url string) (io.ReadCloser, error) + type Agent struct + DownloadFn func(url string) (io.ReadCloser, error) + HostServer string + Locale i18n.Locale + Region string + func DefaultAgent() *Agent + func (ag *Agent) OpenOnline(programID string) (*Client, error) + type BuildConfig struct + BuildName string + BuildPartialPriority []string + BuildPlayBuildInstaller string + BuildProduct string + BuildUID string + Download []Hash + DownloadSize []uint64 + Encoding []Hash + EncodingSize []uint64 + Install []Hash + InstallSize []uint64 + Patch Hash + PatchConfig Hash + PatchSize uint64 + Root Hash + Size []Hash + SizeSize []uint64 + type CDN struct + ConfigPath string + Hosts []string + Path string + Region string + Servers []string + type Client struct + Build Hash + BuildConfig BuildConfig + CDN *CDN + Dir string + Opt uint64 + func (cl *Client) Init() error + type Hash [16]byte + func (h Hash) String() string + type Version struct + BuildConfig Hash + BuildId uint32 + CDNConfig Hash + KeyRing Hash + ProductConfig Hash + Region string + VersionsName string