Documentation
¶
Index ¶
- func AddLibtoFile(path, lib, title string)
- func AddLibtoFilebyTitle(lib, title string)
- func Addthirdparty(p string, lib string, templatefile string) string
- func CheckExeExists(exepath string, appexe string) (string, string, string)
- func CreateFolder(folder string)
- func GetFiles(dir string) (files []string, err error)
- func GetThirdPartyFile(urlthirdparty string)
- func Getpid(name string) (string, error)
- func Getpidstring(name string) (string, string, string, error)
- func Kill(pid int) error
- func KillProcessByName(procname string)
- func ProcessID(name string) (string, uint32, uint32, error)
- func Reload()
- func Startapp() *exec.Cmd
- func Startdev() *exec.Cmd
- func Startprod() *exec.Cmd
- func Stopping(cmd *exec.Cmd)
- func WatchSignals()
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 CreateFolder ¶
func CreateFolder(folder string)
func GetThirdPartyFile ¶
func GetThirdPartyFile(urlthirdparty string)
func KillProcessByName ¶
func KillProcessByName(procname string)
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.
Click to show internal directories.
Click to hide internal directories.