Documentation
¶
Overview ¶
Package reference defines the elements of a <reference> block.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Phone string `xml:"phone,omitempty"` Email string `xml:"email,omitempty"` URI string `xml:"uri,omitempty"` Postal AddressPostal `xml:"postal,omitempty"` }
Address denotes the address of an RFC author.
type AddressPostal ¶
type AddressPostal struct { PostalLine []string `xml:"postalline,omitempty"` Streets []string `xml:"street,omitempty"` Cities []string `xml:"city,omitempty"` Codes []string `xml:"code,omitempty"` Countries []string `xml:"country,omitempty"` Regions []string `xml:"region,omitempty"` }
AddressPostal denotes the postal address of an RFC author.
type Author ¶
type Author struct { Fullname string `xml:"fullname,attr,omitempty"` Initials string `xml:"initials,attr,omitempty"` Surname string `xml:"surname,attr,omitempty"` Role string `xml:"role,attr,omitempty"` Organization *Organization `xml:"organization,omitempty"` Address *Address `xml:"address,omitempty"` }
Author is the reference author.
type Date ¶
type Date struct { Year string `xml:"year,attr,omitempty"` Month string `xml:"month,attr,omitempty"` Day string `xml:"day,attr,omitempty"` }
Date is the reference date.
type Front ¶
type Front struct { Title string `xml:"title"` Authors []Author `xml:"author,omitempty"` Date Date `xml:"date"` }
Front the reference <front>.
type Organization ¶
Click to show internal directories.
Click to hide internal directories.