fuse

package
v0.0.0-...-543e6d5 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StopChan  chan *StopReq
	RouteChan chan *RouteReq
	TripChan  chan *TripReq
)

Functions

This section is empty.

Types

type RouteReq

type RouteReq struct {
	Route    *models.Route
	Response chan error
}

RouteReq is a request to add saved route shapes to this route

type StopReq

type StopReq struct {
	Stop     *models.Stop
	Partner  partners.P
	Response chan error
}

StopReq is a request to set live departures for a stop using the Partner

type TripReq

type TripReq struct {
	Trip         *models.Trip
	TripID       string
	FirstTripID  string
	Stop         *models.Stop
	Response     chan error
	IncludeShape bool
}

TripReq is a request to retrieve a Trip given this TripID and Stop

Jump to

Keyboard shortcuts

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