Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comics ¶ added in v1.2.1
type Comics struct { ID int `json:"id" bson:"id"` Title string `json:"title" bson:"title"` Alternative_Title string `json:"alternative_title" bson:"alternative_title"` Description string `json:"description" bson:"description"` Type string `json:"type" bson:"type"` Genres []string `json:"genres" bson:"genres"` Tags []string `json:"tags" bson:"tags"` Rating float32 `json:"rating,omitempty" bson:"rating,omitempty"` Review string `json:"review,omitempty" bson:"review,omitempty"` Image string `json:"image,omitempty" bson:"image,omitempty"` }
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 Geospatial ¶ added in v1.1.2
type Geospatial struct { Type string `json:"type" bson:"type"` Coordinates interface{} `json:"coordinates" bson:"coordinates"` Max float64 `json:"max,omitempty" bson:"max,omitempty"` Min float64 `json:"min,omitempty" bson:"min,omitempty"` Radius float64 `json:"radius,omitempty" bson:"radius,omitempty"` }
type Polygon ¶
type Polygon struct {
Coordinates [][][]float64 `json:"coordinates" bson:"coordinates"`
}
type Polyline ¶
type Polyline struct {
Coordinates [][]float64 `json:"coordinates" bson:"coordinates"`
}
type PostgresInfo ¶ added in v1.2.1
type Properties ¶
type Properties struct {
Name string `json:"name" bson:"name"`
}
Click to show internal directories.
Click to hide internal directories.