clienttype

package
v0.0.0-...-b412545 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Location

type Location [2]float64

type ReserveScooterRequestBody

type ReserveScooterRequestBody struct {
	ScooterID string `json:"id"`
}

type Scooter

type Scooter struct {
	ScooterID  string   `json:"scooterID"`
	Status     string   `json:"status"`
	LastUpdate string   `json:"lastStatus"`
	Location   Location `json:"location"`
}

type ScooterScearchResult

type ScooterScearchResult struct {
	Scooters []Scooter `json:"scooters"`
}

type UpdateScooterRequestBody

type UpdateScooterRequestBody struct {
	ScooterID string `json:"scooterID"`
	Timestamp string `json:"timestamp"`
	Latitude  string `json:"latitude"`
	Longitude string `json:"longitude"`
	EventType string `json:"eventType"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL