Documentation
¶
Index ¶
- type XmlDataOutput
- func (d *XmlDataOutput) DumpComment(comment string)
- func (d *XmlDataOutput) DumpDouble(field string, value float64)
- func (d *XmlDataOutput) DumpDuration(field string, value time.Duration)
- func (d *XmlDataOutput) DumpString(field, value string)
- func (d *XmlDataOutput) DumpSubFields(field string, subDump func(rrd.DataOutput) error)
- func (d *XmlDataOutput) DumpTime(field string, value time.Time)
- func (d *XmlDataOutput) DumpUnsignedLong(field string, value uint64)
- func (d *XmlDataOutput) Finalize() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XmlDataOutput ¶
type XmlDataOutput struct {
// contains filtered or unexported fields
}
func NewXmlOutput ¶
func NewXmlOutput(output io.Writer, prettyPrint bool) (*XmlDataOutput, error)
func (*XmlDataOutput) DumpComment ¶
func (d *XmlDataOutput) DumpComment(comment string)
func (*XmlDataOutput) DumpDouble ¶
func (d *XmlDataOutput) DumpDouble(field string, value float64)
func (*XmlDataOutput) DumpDuration ¶
func (d *XmlDataOutput) DumpDuration(field string, value time.Duration)
func (*XmlDataOutput) DumpString ¶
func (d *XmlDataOutput) DumpString(field, value string)
func (*XmlDataOutput) DumpSubFields ¶
func (d *XmlDataOutput) DumpSubFields(field string, subDump func(rrd.DataOutput) error)
func (*XmlDataOutput) DumpUnsignedLong ¶
func (d *XmlDataOutput) DumpUnsignedLong(field string, value uint64)
func (*XmlDataOutput) Finalize ¶
func (d *XmlDataOutput) Finalize() error
Click to show internal directories.
Click to hide internal directories.