Documentation ¶
Index ¶
- Constants
- Variables
- func Backup() error
- func BackupHandler(_ *url.URL) error
- func CascadeValidation() error
- func CascadeValidationHandler(u *url.URL) error
- func Cleanup(ids []string, operatingSystems []vangogh_integration.OperatingSystem, ...) error
- func CleanupHandler(u *url.URL) error
- func Dehydrate(ids []string, its []vangogh_integration.ImageType, force bool) error
- func DehydrateHandler(u *url.URL) error
- func GetData(ids []string, skipIds []string, pt vangogh_integration.ProductType, ...) error
- func GetDataHandler(u *url.URL) error
- func GetDownloads(ids []string, operatingSystems []vangogh_integration.OperatingSystem, ...) error
- func GetDownloadsHandler(u *url.URL) error
- func GetImages(ids []string, its []vangogh_integration.ImageType, missing bool) error
- func GetImagesHandler(u *url.URL) error
- func GetItems(ids []string, since int64) error
- func GetItemsHandler(u *url.URL) error
- func GetPurchases(since int64, ids []string, ...) error
- func GetPurchasesHandler(u *url.URL) error
- func GetSummary() error
- func GetSummaryHandler(u *url.URL) error
- func GetVideoMetadata(ids []string, missing, force bool) error
- func GetVideoMetadataHandler(u *url.URL) error
- func Health(u string) error
- func HealthHandler(u *url.URL) error
- func Info(ids []string, allText, images, videoId bool) error
- func InfoHandler(u *url.URL) error
- func List(ids []string, modifiedSince int64, pt vangogh_integration.ProductType, ...) error
- func ListHandler(u *url.URL) error
- func LocalTag(ids []string, operation string, tagName string) error
- func LocalTagHandler(u *url.URL) error
- func Migrate() error
- func MigrateHandler(_ *url.URL) error
- func NegOpt(option string) string
- func NewAtomFeedContent(rdx redux.Readable, summary map[string][]string) string
- func Owned(ids []string) error
- func OwnedHandler(u *url.URL) error
- func Reduce(since int64, properties []string, propertiesOnly bool) error
- func ReduceHandler(u *url.URL) error
- func Search(query map[string][]string) error
- func SearchHandler(u *url.URL) error
- func Serve(port int, stderr bool) error
- func ServeHandler(u *url.URL) error
- func Size(ids []string, operatingSystems []vangogh_integration.OperatingSystem, ...) error
- func SizeHandler(u *url.URL) error
- func StaleDehydrations(fix bool) error
- func Summarize(since int64) error
- func SummarizeHandler(u *url.URL) error
- func Sync(since int64, syncOpts *syncOptions, ...) error
- func SyncHandler(u *url.URL) error
- func Tag(ids []string, operation, tagName string) error
- func TagHandler(u *url.URL) error
- func UpdateDownloads(ids []string, operatingSystems []vangogh_integration.OperatingSystem, ...) error
- func UpdateDownloadsHandler(u *url.URL) error
- func Validate(ids []string, operatingSystems []vangogh_integration.OperatingSystem, ...) error
- func ValidateHandler(u *url.URL) error
- func VersionHandler(_ *url.URL) error
- func Vet(vetOpts *vetOptions, operatingSystems []vangogh_integration.OperatingSystem, ...) error
- func VetHandler(u *url.URL) error
- func Wishlist(addProductIds, removeProductIds []string) error
- func WishlistHandler(u *url.URL) error
- func WishlistedOwned(fix bool) error
Constants ¶
View Source
const ( SyncOptionData = "data" SyncOptionItems = "items" SyncOptionImages = "images" SyncOptionScreenshots = "screenshots" SyncOptionVideosMetadata = "videos-metadata" SyncOptionDownloadsUpdates = "downloads-updates" )
View Source
const ( VetLocalOnlyData = "local-only-data" VetLocalOnlyImages = "local-only-images" VetRecycleBin = "recycle-bin" VetInvalidData = "invalid-data" VetUnresolvedManualUrls = "unresolved-manual-urls" VetInvalidResolvedManualUrls = "invalid-resolved-manual-urls" VetMissingChecksums = "missing-checksums" VetStaleDehydrations = "stale-dehydrations" VetOldLogs = "old-logs" VetWishlistedOwned = "wishlisted-owned" )
Variables ¶
View Source
var (
GitTag string
)
Functions ¶
func BackupHandler ¶
func CascadeValidation ¶ added in v0.4.88
func CascadeValidation() error
func CascadeValidationHandler ¶ added in v0.4.88
func Cleanup ¶
func Cleanup( ids []string, operatingSystems []vangogh_integration.OperatingSystem, langCodes []string, downloadTypes []vangogh_integration.DownloadType, noPatches bool, all, test, delete bool) error
func CleanupHandler ¶
func Dehydrate ¶ added in v0.4.70
func Dehydrate( ids []string, its []vangogh_integration.ImageType, force bool) error
func DehydrateHandler ¶ added in v0.4.70
func GetData ¶
func GetData( ids []string, skipIds []string, pt vangogh_integration.ProductType, since int64, missing bool, updated bool) error
GetData gets remote data from GOG.com and stores as local products (splitting as paged data if needed)
func GetDataHandler ¶
func GetDownloads ¶
func GetDownloads( ids []string, operatingSystems []vangogh_integration.OperatingSystem, langCodes []string, downloadTypes []vangogh_integration.DownloadType, noPatches bool, missing, force bool) error
func GetDownloadsHandler ¶
func GetImages ¶
func GetImages( ids []string, its []vangogh_integration.ImageType, missing bool) error
GetImages fetches remote images for a given type (box-art, screenshots, background, etc.). If requested it can check locally present files and download all missing (used in data files, but not present locally) images for a given type.
func GetImagesHandler ¶
func GetItemsHandler ¶
func GetPurchases ¶ added in v0.5.69
func GetPurchases( since int64, ids []string, operatingSystems []vangogh_integration.OperatingSystem, langCodes []string, downloadTypes []vangogh_integration.DownloadType, noPatches bool, force bool) error
func GetPurchasesHandler ¶ added in v0.5.69
func GetSummary ¶
func GetSummary() error
func GetSummaryHandler ¶
func GetVideoMetadata ¶ added in v0.5.97
func GetVideoMetadataHandler ¶ added in v0.5.97
func HealthHandler ¶ added in v0.4.69
func InfoHandler ¶
func List ¶
func List( ids []string, modifiedSince int64, pt vangogh_integration.ProductType, properties []string) error
List prints products of a certain product type. Can be filtered to products that were created or modified since a certain time. Provided properties will be printed for each product (if supported) in addition to default ID, Title.
func ListHandler ¶
func LocalTagHandler ¶
func MigrateHandler ¶ added in v0.5.87
func NewAtomFeedContent ¶ added in v0.4.35
func OwnedHandler ¶
func ReduceHandler ¶
func SearchHandler ¶
func ServeHandler ¶
func Size ¶
func Size( ids []string, operatingSystems []vangogh_integration.OperatingSystem, langCodes []string, downloadTypes []vangogh_integration.DownloadType, noPatches bool, missing bool, all bool) error
func SizeHandler ¶
func StaleDehydrations ¶ added in v0.4.92
StaleDehydrations needs to be in cli to avoid import cycle
func SummarizeHandler ¶
func Sync ¶
func Sync( since int64, syncOpts *syncOptions, operatingSystems []vangogh_integration.OperatingSystem, langCodes []string, downloadTypes []vangogh_integration.DownloadType, noPatches bool, debug bool) error
func SyncHandler ¶
func TagHandler ¶
func UpdateDownloads ¶
func UpdateDownloads( ids []string, operatingSystems []vangogh_integration.OperatingSystem, langCodes []string, downloadTypes []vangogh_integration.DownloadType, noPatches bool, since int64, updatesOnly bool) error
func UpdateDownloadsHandler ¶
func Validate ¶
func Validate( ids []string, operatingSystems []vangogh_integration.OperatingSystem, langCodes []string, downloadTypes []vangogh_integration.DownloadType, noPatches bool, allNotValid bool) error
func ValidateHandler ¶
func VersionHandler ¶ added in v0.5.24
func Vet ¶
func Vet( vetOpts *vetOptions, operatingSystems []vangogh_integration.OperatingSystem, langCodes []string, downloadTypes []vangogh_integration.DownloadType, noPatches bool, fix bool) error
func VetHandler ¶
func WishlistHandler ¶
func WishlistedOwned ¶ added in v0.5.20
Types ¶
This section is empty.
Source Files ¶
- backup.go
- cascade_validation.go
- cleanup.go
- dehydrate.go
- get_data.go
- get_downloads.go
- get_images.go
- get_items.go
- get_purchases.go
- get_summary.go
- get_video_metadata.go
- health.go
- info.go
- list.go
- local_tag.go
- migrate.go
- owned.go
- reduce.go
- search.go
- serve.go
- size.go
- split.go
- summarize.go
- sync.go
- tag.go
- update_downloads.go
- validate.go
- version.go
- vet.go
- vet_stale_dehydrations.go
- vet_wishlisted_owned.go
- wishlist.go
Click to show internal directories.
Click to hide internal directories.