foreverizer

package
v18.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilePathExists

func FilePathExists(path string) (bool, error)

FilePathExists check if a file exists

func Foreverize

func Foreverize(opts Options) error

Foreverize registers the service with the OS

Types

type Options

type Options struct {
	ServiceName     string
	ServiceType     string
	ServiceUsername string
	ServicePassword string
	DisplayName     string
	Description     string
	IgnitionPath    string
}

Options device the options to be passed to construct a new Foreverizer

type Program

type Program struct {
}

Program inteface that is dumb and not real

func (*Program) Start

func (prg *Program) Start(srv service.Service) error

Start service but not really

func (*Program) Stop

func (prg *Program) Stop(srv service.Service) error

Stop service but not really

Jump to

Keyboard shortcuts

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