manager

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HomeDir

func HomeDir() (string, error)

HomeDir for process

func LinuxHomeDir

func LinuxHomeDir() (string, error)

LinuxHomeDir for *unix

func WinHomeDir

func WinHomeDir() (string, error)

WinHomeDir for Win

Types

type InstanceDesc

type InstanceDesc struct {
	Name    string
	Path    string
	Plugins []string
	Config  string
}

InstanceDesc for streaming

func (*InstanceDesc) Command

func (p *InstanceDesc) Command(name string, args ...string) (cmd *exec.Cmd)

Command to run

func (*InstanceDesc) CreateDir

func (p *InstanceDesc) CreateDir(sse *util.SSE, clearDir bool) (err error)

CreateDir create new dir

Jump to

Keyboard shortcuts

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