client

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: 6 Imported by: 0

Documentation

Index

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 NewAPIClient(baseURL string, jwtToken string) *APIClient

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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