_mailUtils

package
v0.0.0-...-9b5f5b5 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExeShell

func ExeShell(cmdStr string) (string, error)

func ExeShellCallback

func ExeShellCallback(ch chan int, cmdStr, dir string,
	fun func(s string, msg websocket.Message), msg websocket.Message) (err error)

func ExeShellInDir

func ExeShellInDir(cmdStr string, dir string) (ret string, err error)

func ExeShellInDirWithPid

func ExeShellInDirWithPid(cmdStr string, dir string) (ret string, err error, pid int)

func ExeShellWithEnvVarsAndOutputInDir

func ExeShellWithEnvVarsAndOutputInDir(cmdStr, dir string, envVars []string) ([]string, error)

func ExeShellWithOutput

func ExeShellWithOutput(cmdStr string) ([]string, error)

func ExeShellWithOutputInDir

func ExeShellWithOutputInDir(cmdStr string, dir string) ([]string, error)

func ExeShellWithPid

func ExeShellWithPid(cmdStr string) (string, error, int)

func GetProcess

func GetProcess(app string) (string, error)

func KillProcess

func KillProcess(app string) (string, error)

func KillProcessById

func KillProcessById(pid int)

func Send

func Send(to, subject, tmpl string, mp map[string]string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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