Documentation ¶
Index ¶
- type APIClient
- func (c *APIClient) FindScooters(bottomLeft, topRight [2]float64, status string) (*clienttype.ScooterScearchResult, error)
- func (c *APIClient) PublishScooterStatus(statusEvent clienttype.UpdateScooterRequestBody) error
- func (c *APIClient) ReserverScooter(reserveRequest clienttype.ReserveScooterRequestBody) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
func NewAPIClient ¶
func (*APIClient) FindScooters ¶
func (c *APIClient) FindScooters(bottomLeft, topRight [2]float64, status string) (*clienttype.ScooterScearchResult, error)
func (*APIClient) PublishScooterStatus ¶
func (c *APIClient) PublishScooterStatus(statusEvent clienttype.UpdateScooterRequestBody) error
func (*APIClient) ReserverScooter ¶
func (c *APIClient) ReserverScooter(reserveRequest clienttype.ReserveScooterRequestBody) (bool, error)
Click to show internal directories.
Click to hide internal directories.