darwinrest

package
v0.0.0-...-fd78167 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

darwinrest provides some additional rest services which use all of the other packages in forming their results

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DarwinRest

type DarwinRest struct {
	Ref *darwinref.DarwinReference
	TT  *darwintimetable.DarwinTimetable
}

func (*DarwinRest) JourneyHandler

func (rs *DarwinRest) JourneyHandler(r *rest.Rest) error

JourneyHandler returns a Journey from the timetable and any reference data

func (DarwinRest) RegisterRest

func (r DarwinRest) RegisterRest(c *rest.ServerContext)

RegisterRest registers the rest endpoints into a ServerContext

Jump to

Keyboard shortcuts

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