ipKit

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2025 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIpAddressInfo

func GetIpAddressInfo(ip string) (string, error)

GetIpAddressInfo 获取ip物理地址信息 *

  • @param ip 需要查询的ip地址
  • @return string,error

func IsPrivateIP added in v0.2.17

func IsPrivateIP(ip net.IP) bool

IsPrivateIP 判断是否为局域网 IP

  • @param ip 需要判断的ip地址
  • @return bool true 内网 false 局域网

Types

This section is empty.

Directories

Path Synopsis
Package ipService 读取第三方的ip地址信息
Package ipService 读取第三方的ip地址信息

Jump to

Keyboard shortcuts

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