Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialUser ¶
type CredentialUser struct { Status bool `json:"status" bson:"status"` Message string `json:"message,omitempty" bson:"message,omitempty"` Data struct { Name string `json:"name" bson:"name"` Username string `json:"username" bson:"username"` Role string `json:"role" bson:"role"` } `json:"data" bson:"data"` }
type FullGeoJson ¶
type FullGeoJson struct { ID primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Type string `json:"type" bson:"type"` Properties Properties `json:"properties" bson:"properties"` Geometry Geometry `json:"geometry" bson:"geometry"` }
type GeoJson ¶
type GeoJson struct { Type string `json:"type" bson:"type"` Properties Properties `json:"properties" bson:"properties"` Geometry Geometry `json:"geometry" bson:"geometry"` }
type GeoJsonLineString ¶
type GeoJsonLineString struct { Type string `json:"type" bson:"type"` Properties Properties `json:"properties" bson:"properties"` Geometry struct { Coordinates [][]float64 `json:"coordinates" bson:"coordinates"` Type string `json:"type" bson:"type"` } `json:"geometry" bson:"geometry"` }
type GeoJsonPoint ¶
type GeoJsonPoint struct { Type string `json:"type" bson:"type"` Properties Properties `json:"properties" bson:"properties"` Geometry struct { Coordinates []float64 `json:"coordinates" bson:"coordinates"` Type string `json:"type" bson:"type"` } `json:"geometry" bson:"geometry"` }
type GeoJsonPolygon ¶
type GeoJsonPolygon struct { Type string `json:"type" bson:"type"` Properties Properties `json:"properties" bson:"properties"` Geometry struct { Coordinates [][][]float64 `json:"coordinates" bson:"coordinates"` Type string `json:"type,omitempty" bson:"type,omitempty"` } `json:"geometry" bson:"geometry"` }
type Geometry ¶
type Geometry struct { Coordinates interface{} `json:"coordinates" bson:"coordinates"` Type string `json:"type" bson:"type"` }
type Polygon ¶
type Polygon struct {
Coordinates [][][]float64 `json:"coordinates" bson:"coordinates"`
}
type Polyline ¶
type Polyline struct {
Coordinates [][]float64 `json:"coordinates" bson:"coordinates"`
}
type Properties ¶
type Properties struct {
Name string `json:"name" bson:"name"`
}
Click to show internal directories.
Click to hide internal directories.