daemonproc

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DProc added in v0.9.2

type DProc struct {
	Listen string
	// contains filtered or unexported fields
}

func (*DProc) AddWebViewProcess added in v0.9.2

func (dp *DProc) AddWebViewProcess(cmd *exec.Cmd)

type DProcMeta

type DProcMeta struct {
	Pid    int
	Listen string
}

type DaemonProcess

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

func NewDaemonProcess

func NewDaemonProcess(i *do.Injector) (*DaemonProcess, error)

func (*DaemonProcess) GetDProc added in v0.9.2

func (daemonProc *DaemonProcess) GetDProc(name string) *DProc

func (*DaemonProcess) GetMeta

func (daemonProc *DaemonProcess) GetMeta(name string) *DProcMeta

GetMeta find and return meta info of instance.

Returns nil if instance is not running.

func (*DaemonProcess) Init

func (daemonProc *DaemonProcess) Init() error

func (*DaemonProcess) Shutdown

func (daemonProc *DaemonProcess) Shutdown() error

func (*DaemonProcess) Start

func (daemonProc *DaemonProcess) Start(name string) error

func (*DaemonProcess) Stop

func (daemonProc *DaemonProcess) Stop(name string) error

Jump to

Keyboard shortcuts

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