remote

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFromUrl added in v0.6.0

func GetFromUrl(kind mods.Kind, url string) (bool, *mods.Mod, error)

func GetMod added in v0.7.1

func GetMod(game config.GameDef, id mods.ModID, rebuildCache bool) (found bool, mod *mods.Mod, err error)

func GetMods added in v0.6.0

func GetMods(game config.GameDef, rebuildCache bool) (result []*mods.Mod, err error)

Types

type Client added in v0.6.0

type Client interface {
	GetFromMod(in *mods.Mod) (found bool, mod *mods.Mod, err error)
	GetFromID(game config.GameDef, id int) (found bool, mod *mods.Mod, err error)
	GetFromUrl(url string) (found bool, mod *mods.Mod, err error)
	GetNewestMods(game config.GameDef, lastID int) (result []*mods.Mod, err error)
	GetMods(game config.GameDef, rebuildCache bool) (result []*mods.Mod, err error)
	Folder(game config.GameDef) string
}

func GetClients added in v0.6.0

func GetClients() []Client

func NewCurseForgeClient added in v0.6.0

func NewCurseForgeClient() Client

func NewNexusClient added in v0.6.0

func NewNexusClient() Client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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