utils

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSysProcAttr added in v0.5.0

func GetSysProcAttr() *syscall.SysProcAttr

func IsCheckIPToolAvailable added in v0.5.0

func IsCheckIPToolAvailable() bool

func PathEscape

func PathEscape(v string) string

func PingHost

func PingHost(ip string) (bool, error)

func ProbesParamName added in v0.5.0

func ProbesParamName() string

func Retry

func Retry(attempts int, waitTime time.Duration, task func(attempt int) error) error

func TimeoutParamName added in v0.5.0

func TimeoutParamName() string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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