Documentation ¶
Index ¶
Constants ¶
View Source
const SequenceDelimiter = ";"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntSequence ¶
type IntSequence []int
func (IntSequence) MarshalText ¶
func (s IntSequence) MarshalText() ([]byte, error)
func (*IntSequence) UnmarshalText ¶
func (s *IntSequence) UnmarshalText(text []byte) error
type Time ¶
type Time struct { UpTime int `xml:"UpTime,omitempty"` SummerTime int `xml:"SummerTime,omitempty"` TimeZone *int `xml:"TimeZone,omitempty"` Timestamp Timestamp }
func (*Time) WithTimeZone ¶
func (*Time) WithoutTimeZone ¶
func (t *Time) WithoutTimeZone()
type Timestamp ¶
func (Timestamp) MarshalText ¶
MarshalText defines how encoding/xml marshals the object to XML, the result is a string of the UNIX timestamp
func (*Timestamp) UnmarshalText ¶
UnmarshalText defines how encoding/xml unmarshals the object from XML, a UNIX timestamp string is converted to int which is used for the Timestamp object value
Click to show internal directories.
Click to hide internal directories.