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
Click to show internal directories.
Click to hide internal directories.