system

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagEnableGid = "enable-gid"
)

Variables

View Source
var (
	EnableGid = false
)

Functions

func GetIpAddr

func GetIpAddr(appendPid bool) (res string, err error)

func Getpid

func Getpid() int

func Sleep

func Sleep(seconds time.Duration)

Types

type GoRoutineID

type GoRoutineID int
var GoRId GoRoutineID = 0

func (GoRoutineID) String

func (base GoRoutineID) String() string

Jump to

Keyboard shortcuts

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