command

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteToM

func ByteToM(input uint64) uint64

ByteToM converts byte to megabyte

func Execute

func Execute(command string, isUsingPipes bool, params ...string) string

Execute executes the given system command

func GetExecPath

func GetExecPath(cmd string) string

GetExecPath returns exec path of the given command

func GetIncomingIPAddr

func GetIncomingIPAddr(r *http.Request) (string, error)

GetIncomingIPAddr get the IP of the incoming request

Types

This section is empty.

Jump to

Keyboard shortcuts

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