Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseResponse ¶
type BaseResponse struct { Code int `json:"code,omitempty"` Message string `json:"message,omitempty"` RequestID string `json:"request_id,omitempty"` }
func (BaseResponse) Error ¶
func (r BaseResponse) Error() string
func (BaseResponse) IsError ¶
func (r BaseResponse) IsError() bool
type FloatRange ¶
type Geolocation ¶
type Geolocation struct { Radius int64 `json:"radius,omitempty"` // 半径 Name string `json:"name,omitempty"` // 地点名称 Long float64 `json:"long,omitempty"` // 经度 Lat float64 `json:"lat,omitempty"` // 纬度 City string `json:"city,omitempty"` // 城市名 StreetNumber string `json:"street_number,omitempty"` // 街道号 Street string `json:"street,omitempty"` // 街道名 District string `json:"district,omitempty"` // 区域名 Province string `json:"province,omitempty"` // 省份名 }
type GetRequest ¶
type GetRequest interface {
Encode() string
}
type PostRequest ¶
type PostRequest interface {
Encode() []byte
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.