curseforge

package
v0.0.0-...-b8dbcf7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2016 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrBadParse is triggered if there is some error parsing the
	// Curseforge results.  This is difficult to avoid as we are
	// forced to screen scrape.
	ErrBadParse = errors.New("Couldn't understand curseforge page")
)

Functions

func UpdateMod

func UpdateMod(db *gorm.DB, mod *types.Mod) error

UpdateMod retrieves information for the given mod from Curseforge.

func UpdateModPage

func UpdateModPage(db *gorm.DB, mod *types.Mod, page int) error

UpdateModPage retrieves information for the given mod from Curseforge, reading from page N of the release list.

Types

This section is empty.

Jump to

Keyboard shortcuts

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