Versions in this module Expand all Collapse all v1 v1.0.1 Oct 24, 2024 v1.0.0 Sep 12, 2024 Changes in this version + const VersionVariantHead + const VersionVariantStable + func GetFujiSettings() *fuji.Settings + func IsTerminal() bool — darwin/amd64, linux/amd64, windows/amd64 + type ContainerResult struct + NumDirs int + NumFiles int + NumSymlinks int + Spell []string + Type string + UncompressedSize int64 + type Context struct + App *kingpin.Application + Commands map[string]DoCommand + CompressionAlgorithm string + CompressionQuality int + ContextTimeout int64 + DBPath string + HTTPClient *http.Client + HTTPTransport *http.Transport + Identity string + JSON bool + Quiet bool + UserAgentAddition string + Verbose bool + func NewContext(app *kingpin.Application) *Context + func (ctx *Context) APIAddress() string + func (ctx *Context) AuthenticateViaOauth() (*itchio.Client, error) + func (ctx *Context) CompressionSettings() pwr.CompressionSettings + func (ctx *Context) CurrentVariant() VersionVariant + func (ctx *Context) CurrentVersion() *Version + func (ctx *Context) DefaultCtx() context.Context + func (ctx *Context) DoVersionCheck() + func (ctx *Context) EnsureDBPath() + func (ctx *Context) HasSavedCredentials() bool + func (ctx *Context) Must(err error) + func (ctx *Context) NewClient(key string) *itchio.Client + func (ctx *Context) QueryLatestVersion(variant VersionVariant) (*VersionCheckResult, error) + func (ctx *Context) Register(clause *kingpin.CmdClause, do DoCommand) + func (ctx *Context) SetAddress(address string) + func (ctx *Context) UpdateBaseURL(variant VersionVariant) string + func (ctx *Context) UserAgent() string + func (ctx *Context) WebAddress() string + type DoCommand func(ctx *Context) + type ElfPropsResult struct + Arch string + Libraries []string + type FileExtractedResult struct + Path string + Type string + type FileMirroredResult struct + Path string + Type string + type UserAgentSetter struct + Context *Context + OriginalTransport http.RoundTripper + func (uas *UserAgentSetter) RoundTrip(req *http.Request) (*http.Response, error) + type Version struct + Name string + Variant VersionVariant + func (v *Version) Equal(v2 *Version) bool + func (v *Version) String() string + type VersionCheckResult struct + Current *Version + Latest *Version + type VersionVariant string + type WalkResult struct + Path string + Size int64 + Type string