Versions in this module Expand all Collapse all v0 v0.7.1 Jan 17, 2024 v0.7.0 Jan 16, 2024 Changes in this version + func ObjectType() trv.ObjectType + type Position struct + func (x *Position) SWEREF99TM() *string + func (x *Position) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Position) WGS84() *string + type Response struct + Results []struct{ ... } + XMLName xml.Name + func (r Response) ErrorMsg() string + func (r Response) HasErrors() bool + type Status struct + func (x *Status) Active() *bool + func (x *Status) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Train struct + func (x *Train) AdvertisedTrainNumber() *string + func (x *Train) JourneyPlanDepartureDate() *time.Time + func (x *Train) JourneyPlanNumber() *string + func (x *Train) OperationalTrainDepartureDate() *time.Time + func (x *Train) OperationalTrainNumber() *string + func (x *Train) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type TrainPosition struct + func (x *TrainPosition) Bearing() *int + func (x *TrainPosition) Deleted() *bool + func (x *TrainPosition) ModifiedTime() *time.Time + func (x *TrainPosition) Position() *Position + func (x *TrainPosition) Speed() *int + func (x *TrainPosition) Status() *Status + func (x *TrainPosition) TimeStamp() *time.Time + func (x *TrainPosition) Train() *Train + func (x *TrainPosition) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *TrainPosition) VersionNumber() *int64