network

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ipv4SecurityCheck

func Ipv4SecurityCheck(ipInfo *model.IpInfo, cheervisionInfo *model.SecurityInfo, language string) (string, error)

Ipv4SecurityCheck 检测 ipv4 安全信息和安全得分

func Ipv6SecurityCheck

func Ipv6SecurityCheck(ipInfo *model.IpInfo, cheervisionInfo *model.SecurityInfo, language string) (string, error)

Ipv6SecurityCheck 检测 ipv4 安全信息和安全得分

func NetworkCheck

func NetworkCheck(checkType string, enableSecurityCheck bool, language string) (string, string, error)

NetworkCheck 查询网络信息 checkType 可选 both ipv4 ipv6 enableSecurityCheck 可选 true false language 暂时仅支持 en 或 zh 回传 ipInfo securityInfo err

Types

This section is empty.

Jump to

Keyboard shortcuts

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