util

package
v0.0.0-...-c0fde58 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTCPConn

func CheckTCPConn(address string) bool

CheckTCPConn will connect to address to check is connect

func GetOutboundIP

func GetOutboundIP(detectAddr string) net.IP

GetOutboundIP use detectAddr to get outbound IP

func GetRandomString

func GetRandomString(n int) string

GetRandomString get random string

func GetRealPath

func GetRealPath(rawPath string) string

GetRealPath get absolute path from relative

func Max

func Max(x, y int) int

func Max64

func Max64(x, y int64) int64

func Min

func Min(x, y int) int

func Min64

func Min64(x, y int64) int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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