utils

package
v0.16.24 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HttpClientSkipTlsVerify *http.Client
	HttpClient              *http.Client
)

Functions

func GenerateRandomString added in v0.14.5

func GenerateRandomString(n int) (string, error)

func IPDesensitize added in v0.6.8

func IPDesensitize(ipAddr string) string

func IsFileExists added in v0.13.3

func IsFileExists(path string) bool

func IsWindows

func IsWindows() bool

func SplitIPAddr added in v0.13.2

func SplitIPAddr(v4v6Bundle string) (string, string, string)

SplitIPAddr 传入/分割的v4v6混合地址,返回v4和v6地址与有效地址

Types

This section is empty.

Jump to

Keyboard shortcuts

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