installer

package
v0.0.0-...-39e2216 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inst

type Inst interface {
	// Install does a program installation
	Install() error
	// IsInstalled checks if a program is already installed locally
	IsInstalled() bool
	// HasFailed checks if a program has failed to install locally
	HasFailed() bool
}

Inst defines what kind of service a program installer has to provide

func New

func New(p prgs.Prg) Inst

New returns a new installer instance for a given program

Jump to

Keyboard shortcuts

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