remote

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 8 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 GetMods added in v0.6.0

func GetMods(game config.GameDef) (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) (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