Documentation ¶
Overview ¶
Package nzb is intended to be a library that basically just provides go structs that one can unmarshall an NZB file into and have enough information to locate the associated files on usenet.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { Poster string `xml:"poster,attr"` Date int `xml:"date,attr"` Subject string `xml:"subject,attr"` Groups []string `xml:"groups>group,internalxml"` Segments []Segment `xml:"segments>segment"` }
File is a go struct representation of the nzb file elements. It contains the appropriate field tags and methods for deserialization
type Meta ¶
The Meta type is simply a map[string]string that implements UnmarshalXML to appropriately unmarshal the xml metadata tags.
func (*Meta) UnmarshalXML ¶
UnmarshalXML implements xml.Unmarshaler
Click to show internal directories.
Click to hide internal directories.