app

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VncName   string
	VncPort   uint16
	VncCursor bool
)

vnc child process params

View Source
var ConfDir string

ConfDir --conf param

View Source
var User string

User --user param

View Source
var Version string

Version application version

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App application

func NewApp added in v0.12.0

func NewApp() *App

NewApp create application

func (*App) Install added in v0.12.0

func (a *App) Install(*cobra.Command, []string)

Install register service

func (*App) Restart added in v0.12.0

func (a *App) Restart(*cobra.Command, []string)

Restart restart service

func (*App) Run added in v0.12.0

func (a *App) Run(*cobra.Command, []string)

Run run application

func (*App) Start

func (a *App) Start(*cobra.Command, []string)

Start start service

func (*App) Status added in v0.12.0

func (a *App) Status(*cobra.Command, []string)

Status show service status

func (*App) Stop

func (a *App) Stop(*cobra.Command, []string)

Stop stop service

func (*App) Uninstall added in v0.12.0

func (a *App) Uninstall(*cobra.Command, []string)

Uninstall unregister service

func (*App) Vnc added in v0.12.0

func (a *App) Vnc(*cobra.Command, []string)

Vnc handle vnc child process handler

Jump to

Keyboard shortcuts

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