handler

package
v0.0.0-...-11c86b9 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: AGPL-3.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLibtoFile

func AddLibtoFile(path, lib, title string)

func AddLibtoFilebyTitle

func AddLibtoFilebyTitle(lib, title string)

func Addthirdparty

func Addthirdparty(p string, lib string, templatefile string) string

func CheckExeExists

func CheckExeExists(exepath string, appexe string) (string, string, string)

func CreateFolder

func CreateFolder(folder string)

func GetFiles

func GetFiles(dir string) (files []string, err error)

func GetThirdPartyFile

func GetThirdPartyFile(urlthirdparty string)

func Getpid

func Getpid(name string) (string, error)

func Getpidstring

func Getpidstring(name string) (string, string, string, error)

func Kill

func Kill(pid int) error

func KillProcessByName

func KillProcessByName(procname string)

func ProcessID

func ProcessID(name string) (string, uint32, uint32, error)

func Reload

func Reload()

func Startapp

func Startapp() *exec.Cmd

func Startdev

func Startdev() *exec.Cmd

func Startprod

func Startprod() *exec.Cmd

func Stopping

func Stopping(cmd *exec.Cmd)

func WatchSignals

func WatchSignals()
func GetProcData(exepath string, appexe string) (string, string, string, string, string, string, string, error) {
	path, err := exec.LookPath(exepath)
	if err != nil {
		fmt.Printf("didn't find '%s' executable\n", exepath)
	}
	pid, size, parent, threads, usage, e := processInfo(appexe)
	if e != nil {
		fmt.Println(e)
	}
	return exepath, path, pid, size, parent, threads, usage, nil
}

Types

This section is empty.

Jump to

Keyboard shortcuts

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