Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Client = new(client)
Functions ¶
This section is empty.
Types ¶
type GetLiveWeatherOption ¶
type GetLiveWeatherOption struct {
Province string `json:"province"` // 省份名
City string `json:"city"` // 城市名
AdCode string `json:"adcode"` // 区域编码
Weather string `json:"weather"` // 天气现象(汉字描述)
Temperature string `json:"temperature"` // 实时气温,单位:摄氏度
WindDirection string `json:"winddirection"` // 风向描述
WindPower string `json:"windpower"` // 风力级别,单位:级
Humidity string `json:"humidity"` // 空气湿度
ReportTime string `json:"reporttime"` // 数据发布的时间
}
type GetRoutePlanOption ¶
type GetRoutePlanOption struct {
Origin string // 出发点 经度在前,纬度在后,经度和纬度用","分割,经纬度小数点后不得超过6位。格式为x1,y1|x2,y2|x3,y3。 经纬度小数点不超过6位
Destination string // 目的地 经度在前,纬度在后,经度和纬度用","分割,经纬度小数点后不得超过6位。
Strategy string // 驾车选择策略(暂不支持,todo 未来需要支持)
Waypoints []string // 途经点 经度和纬度用","分割,经度在前,纬度在后,小数点后不超过6位,坐标点之间用";"分隔;最大数目:16个坐标点。如果输入多个途径点,则按照用户输入的顺序进行路径规划
}
type PlaceInfoV5 ¶
type PlaceInfoV5 struct {
PoiId string // poi id
Name string // poi名称
Location *Location
Type string // poi所属类型
PName string // poi所属省份
CityName string // poi所属城市
AdName string // poi所属区县
Address string // poi详细地址
Cost string // 人均消费
OpenTime string // 营业时间描述
Rating string // 评分
Images []string // 地点相关图片
}
Click to show internal directories.
Click to hide internal directories.