nexcli

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	sync.Mutex
	Cmd *exec.Cmd
}

func (*Cmd) BroadcastUnSync

func (cm *Cmd) BroadcastUnSync(sig syscall.Signal)

func (*Cmd) CmdWait

func (cm *Cmd) CmdWait(cmd *exec.Cmd)

func (*Cmd) Deinit

func (cm *Cmd) Deinit()

func (*Cmd) DeinitUnSync

func (cm *Cmd) DeinitUnSync()

func (*Cmd) ProcUnSync

func (cm *Cmd) ProcUnSync() *os.Process

func (*Cmd) Restart

func (cm *Cmd) Restart(fileName string)

type WatchNotify

type WatchNotify struct {
	Cmd    Cmd
	Done   gg.Chan[struct{}]
	Events gg.Chan[notify.EventInfo]
}

func (*WatchNotify) Deinit

func (wn *WatchNotify) Deinit()

func (*WatchNotify) Init

func (wn *WatchNotify) Init()

func (*WatchNotify) Run

func (wn *WatchNotify) Run(fileName string)

Jump to

Keyboard shortcuts

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