Versions in this module Expand all Collapse all v0 v0.2.0 Nov 17, 2026 Changes in this version + type EinflussResolution string + const EinflussPT15M + const EinflussPT1H + func (r *EinflussResolution) UnmarshalJSON(b []byte) error + func (r EinflussResolution) MarshalJSON() ([]byte, error) + func (r EinflussResolution) Validate() error + type Einflusswert struct + Groesse Groesse + Malo string + Quelle string + Resolution EinflussResolution + Timestamp time.Time + Value *Decimal + func ParseEinflusswert(b []byte) (Einflusswert, error) + func (e *Einflusswert) UnmarshalJSON(b []byte) error + func (e Einflusswert) MarshalJSON() ([]byte, error) + func (e Einflusswert) Validate() error + type Groesse string + const GroesseGlobalstrahlung + const GroesseTemperatur + func (g *Groesse) UnmarshalJSON(b []byte) error + func (g Groesse) MarshalJSON() ([]byte, error) + func (g Groesse) Validate() error v0.1.0 Oct 30, 2026 Changes in this version + func HerkunftMatchesStatus(status Status, herkunft *Herkunft) bool + func IsValidMaLoID(id string) bool + func MaLoCheckDigit(first10 string) (int, error) + type Decimal string + func NewDecimal(s string) (Decimal, error) + func (d *Decimal) UnmarshalJSON(b []byte) error + func (d Decimal) MarshalJSON() ([]byte, error) + func (d Decimal) Validate() error + type Herkunft string + const HerkunftFremd + const HerkunftMqa + func (h *Herkunft) UnmarshalJSON(b []byte) error + func (h Herkunft) MarshalJSON() ([]byte, error) + func (h Herkunft) Validate() error + type Messwert struct + Herkunft *Herkunft + Malo string + Profiltyp Profiltyp + Resolution Resolution + Richtung Richtung + Status Status + Timestamp time.Time + Value *Decimal + func ParseMesswert(b []byte) (Messwert, error) + func (m *Messwert) UnmarshalJSON(b []byte) error + func (m Messwert) MarshalJSON() ([]byte, error) + func (m Messwert) Validate() error + type Profiltyp string + const ProfiltypGewerbe + const ProfiltypHaushalt + const ProfiltypIndustrie + const ProfiltypUnbekannt + func (p *Profiltyp) UnmarshalJSON(b []byte) error + func (p Profiltyp) MarshalJSON() ([]byte, error) + func (p Profiltyp) Validate() error + type Resolution string + const PT15M + func (r *Resolution) UnmarshalJSON(b []byte) error + func (r Resolution) MarshalJSON() ([]byte, error) + func (r Resolution) Validate() error + type Richtung string + const RichtungBezug + const RichtungEinspeisung + func (r *Richtung) UnmarshalJSON(b []byte) error + func (r Richtung) MarshalJSON() ([]byte, error) + func (r Richtung) Validate() error + type Status string + const StatusErsatzwert + const StatusFehlend + const StatusVorlaeufig + const StatusWahr + func (s *Status) UnmarshalJSON(b []byte) error + func (s Status) MarshalJSON() ([]byte, error) + func (s Status) Validate() error + type ValidationError struct + Field string + Rule string + func (e *ValidationError) Error() string + type Zaehlerstand struct + Malo string + Timestamp time.Time + Value Decimal + func ParseZaehlerstand(b []byte) (Zaehlerstand, error) + func (z *Zaehlerstand) UnmarshalJSON(b []byte) error + func (z Zaehlerstand) MarshalJSON() ([]byte, error) + func (z Zaehlerstand) Validate() error