location

package
v0.11.14 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TIME_OUT 第三方接口请求超时时间
	TIME_OUT = 3 * time.Second
)

Variables

This section is empty.

Functions

func GetGPSByIpAmap

func GetGPSByIpAmap(amapKey, amapSign, amapUrl, ip string) (data map[string]interface{}, err error)

GetGPSByIpAmap *

  • @Description: 获取IP对应得GPS坐标(内网地址则匹配当前地址所对应得公网地址)
  • @param ip ip地址
  • @return data
  • @return err 错误信息

Types

This section is empty.

Jump to

Keyboard shortcuts

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