cdn

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package cdn provides functionality for downloading Path of Exile game bundles from CDN servers. It handles URL construction, index file downloads, and bundle downloads with progress tracking for both single and multiple bundle operations.

Index

Constants

View Source
const (
	PoE1CDNURL = "https://patch.poecdn.com"
	PoE2CDNURL = "https://patch-poe2.poecdn.com"
)

Variables

This section is empty.

Functions

func ConstructURL

func ConstructURL(gameVersion int, patch string, filename string) string

func DownloadBundles

func DownloadBundles(cache *cache.Cache, patch string, gameVersion int, bundleNames []string, force bool, progressEnabled bool) error

func DownloadIndex

func DownloadIndex(cache *cache.Cache, patch string, gameVersion int, force bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL