Documentation ¶
Index ¶
Constants ¶
View Source
const ( XMLContentType = "application/xspf+xml" JsonContentType = "application/xspf+json" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpiffEncoder ¶
func NewJsonEncoder ¶
func NewJsonEncoder(w io.Writer) SpiffEncoder
func NewXMLEncoder ¶
func NewXMLEncoder(w io.Writer) SpiffEncoder
type StringTag ¶
type StringTag struct {
Value string `xml:",chardata" json:"-"`
}
func (*StringTag) MarshalJSON ¶
type TrackTag ¶
type TrackTag struct { XMLName xml.Name `xml:"track" json:"-"` Creator StringTag `xml:"creator" json:"creator"` Album StringTag `xml:"album" json:"album"` Title StringTag `xml:"title" json:"title"` TrackNum IntTag `xml:"trackNum" json:"trackNum"` Location StringTag `xml:"location" json:"location"` Image StringTag `xml:"image" json:"image"` Identifier StringTag `xml:"identifier" json:"identifier"` }
Click to show internal directories.
Click to hide internal directories.