Documentation ¶
Index ¶
Constants ¶
View Source
const RFC3339Minute = "2006-01-02T15:04Z07:00"
entso-e doesn't use seconds in their datetime format
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acknowledgement ¶
type Acknowledgement struct { XMLName xml.Name `xml:"Acknowledgement_MarketDocument"` MRID string `xml:"mRID"` CreatedDateTime time.Time `xml:"createdDateTime"` SenderMarketParticipantMRID MarketParticipantMRID `xml:"sender_MarketParticipant.mRID"` SenderMarketParticipantRoleType string `xml:"sender_MarketParticipant.marketRole.type"` ReceiverMarketParticipantMRID MarketParticipantMRID `xml:"receiver_MarketParticipant.mRID"` ReceiverMarketParticipantRoleType string `xml:"receiver_MarketParticipant.marketRole.type"` ReceivedMarketDocumentCreatedDateTime time.Time `xml:"received_MarketDocument.createdDateTime"` Reason Reason `xml:"Reason"` }
func (*Acknowledgement) UnmarshalXML ¶
func (a *Acknowledgement) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type DomainMRID ¶
type MarketParticipantMRID ¶
type Period ¶
type Period struct { TimeInterval TimeInterval `xml:"timeInterval"` Resolution string `xml:"resolution"` Points []Point `xml:"Point"` }
type Publication ¶
type Publication struct { XMLName xml.Name `xml:"Publication_MarketDocument"` MRID string `xml:"mRID"` RevisionNumber string `xml:"revisionNumber"` Type string `xml:"type"` SenderMarketParticipantMRID MarketParticipantMRID `xml:"sender_MarketParticipant.mRID"` SenderMarketParticipantRoleType string `xml:"sender_MarketParticipant.marketRole.type"` ReceiverMarketParticipantMRID MarketParticipantMRID `xml:"receiver_MarketParticipant.mRID"` ReceiverMarketParticipantRoleType string `xml:"receiver_MarketParticipant.marketRole.type"` CreatedDateTime string `xml:"createdDateTime"` PeriodTimeInterval TimeInterval `xml:"period.timeInterval"` TimeSeries TimeSeries `xml:"TimeSeries"` }
type TimeInterval ¶
func (*TimeInterval) UnmarshalXML ¶
func (t *TimeInterval) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type TimeSeries ¶
type TimeSeries struct { MRID string `xml:"mRID"` AuctionType string `xml:"auction.type"` BusinessType string `xml:"businessType"` InDomainMRID DomainMRID `xml:"in_Domain.mRID"` OutDomainMRID DomainMRID `xml:"out_Domain.mRID"` ContractMarketAgreementType string `xml:"contract_MarketAgreement.type"` CurrencyUnitName string `xml:"currency_Unit.name"` PriceMeasureUnitName string `xml:"price_Measure_Unit.name"` CurveType string `xml:"curveType"` Period Period `xml:"Period"` }
Click to show internal directories.
Click to hide internal directories.