package
Version:
v0.0.0-...-6056432
Opens a new window with list of versions in this module.
Published: Aug 20, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Configurator func(srv *server)
type Geometry struct {
Type string `json:"type"`
Coordinates []float64 `json:"coordinates"`
}
type Location struct {
Type string `json:"type"`
Geometry Geometry `json:"geometry"`
Properties Properties `json:"properties"`
}
type Properties struct {
Timestamp string `json:"timestamp"`
Altitude float64 `json:"altitude"`
DeviceID string `json:"device_id"`
}
type Request struct {
Locations []Location `json:"locations"`
}
type Response struct {
Result string `json:"result"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.