common

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPidWithPort

func GetPidWithPort(portNumber int) int

传入查询的端口号 返回端口号对应的进程PID,若没有找到相关进程,返回-1

func ScanPort

func ScanPort(protocol string, hostname string, port int) bool

端口检测

func SystemBootTime

func SystemBootTime() uint64

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