installer

package
v0.0.0-...-6f03ccd Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

type Installer interface {
	Install() error
}

Installer exposes a simple install function that can be used to install a mod.

type Moddb

type Moddb struct {
	Name         string
	Path         string
	PreferPacked bool
}

Moddb installs a mod with the given name.

func (Moddb) Install

func (m Moddb) Install() error

Install a moddb mod.

type Packed

type Packed struct {
	Path   string
	ModDir string
}

Packed represents the installer for a packed mod which can either be local or remote.

func (Packed) Install

func (p Packed) Install() error

Install the packed mod.

Jump to

Keyboard shortcuts

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