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 Deviation struct + func (x *Deviation) Description() *string + func (x *Deviation) FromDate() *string + func (x *Deviation) ID() *string + func (x *Deviation) SpecDate() *string + func (x *Deviation) ToDate() *string + func (x *Deviation) Type() *DeviationType + func (x *Deviation) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type DeviationType struct + func (x *DeviationType) ID() *string + func (x *DeviationType) Name() *string + func (x *DeviationType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type FerryRoute struct + func (x *FerryRoute) Acknowledged() *time.Time + func (x *FerryRoute) CheckoutID() *string + func (x *FerryRoute) Checkouts() *int64 + func (x *FerryRoute) Deleted() *bool + func (x *FerryRoute) DeviationID() *string + func (x *FerryRoute) Geometry() *Geometry + func (x *FerryRoute) Harbors() []Harbor + func (x *FerryRoute) ID() *int + func (x *FerryRoute) ItemsAcknowledged() *int64 + func (x *FerryRoute) ItemsLeft() *int64 + func (x *FerryRoute) LeasedUntil() *time.Time + func (x *FerryRoute) ModifiedTime() *time.Time + func (x *FerryRoute) Name() *string + func (x *FerryRoute) Shortname() *string + func (x *FerryRoute) StatusCode() *uint8 + func (x *FerryRoute) Timetables() []Timetable + func (x *FerryRoute) Type() *Type + func (x *FerryRoute) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Geometry struct + func (x *Geometry) SWEREF99TM() *string + func (x *Geometry) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Geometry) WGS84() *string + type Harbor struct + func (x *Harbor) ID() *int + func (x *Harbor) Name() *string + func (x *Harbor) SortOrder() *int + func (x *Harbor) StopType() *StopType + func (x *Harbor) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Period struct + func (x *Period) Name() *string + func (x *Period) Schedules() []Schedule + func (x *Period) SortOrder() *int + func (x *Period) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Period) Weekdays() []Weekday + type Response struct + Results []struct{ ... } + XMLName xml.Name + func (r Response) ErrorMsg() string + func (r Response) HasErrors() bool + type Schedule struct + func (x *Schedule) Deviations() []Deviation + func (x *Schedule) Harbor() *Harbor + func (x *Schedule) SortOrder() *int + func (x *Schedule) StopType() *StopType + func (x *Schedule) Time() *string + func (x *Schedule) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type StopType struct + func (x *StopType) ID() *int + func (x *StopType) Name() *string + func (x *StopType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *StopType) Visible() *bool + type Timetable struct + func (x *Timetable) Description() *string + func (x *Timetable) Periods() []Period + func (x *Timetable) Priority() *int + func (x *Timetable) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x *Timetable) Valid() []Valid + type Type struct + func (x *Type) ID() *int + func (x *Type) Name() *string + func (x *Type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Valid struct + func (x *Valid) From() *time.Time + func (x *Valid) To() *time.Time + func (x *Valid) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Weekday struct + func (x *Weekday) Day() *string + func (x *Weekday) ID() *int + func (x *Weekday) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error