Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BaseSuccess = Resp(0, "success")
)
Functions ¶
func AddMapHandler ¶
func CollectHandler ¶
func EchoHandler ¶
func LocateHandler ¶
LocateHandler provide frontend to compute location info
func ReportAP4Location ¶
ReportAP4Location to do the offline report, before online location, collect location data.
Types ¶
type LocateReq ¶
func NewLocateReq ¶
func NewLocateReq() *LocateReq
type LocateResp ¶
type LocateResp struct { Data locate.LocationInfo `json:"data,omitempty"` // contains filtered or unexported fields }
func NewLocateResp ¶
func NewLocateResp(locInfo *locate.LocationInfo) *LocateResp
Click to show internal directories.
Click to hide internal directories.