client

package
Version: v0.0.0-...-9ac1095 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DarwinDBClient

type DarwinDBClient struct {
	// The url prefix, e.g. "http://localhost:8080" of the remote service
	// Note no trailing "/" as the client will add a patch starting with "/"
	Url string
}

A remove client to the DarwinTimetable microservice

func (*DarwinDBClient) GetService

func (c *DarwinDBClient) GetService(rid string) (bool, darwindb.ServiceDetail, error)

func (*DarwinDBClient) GetServices

func (c *DarwinDBClient) GetServices(crs string, date time.Time) (bool, darwindb.StationServices, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL