Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateParser ¶
type AggregateParser struct {
Parsers []MediaParser
}
func (*AggregateParser) Parse ¶
func (p *AggregateParser) Parse(url string) MediaLink
type MediaLinkSlice ¶
type MediaLinkSlice []MediaLink
func (MediaLinkSlice) Deduplicate ¶
func (cl MediaLinkSlice) Deduplicate() MediaLinkSlice
type MediaParser ¶
func DefaultParser ¶
func DefaultParser() MediaParser
type YoutubeLink ¶
type YoutubeLink struct {
ID string
}
func (*YoutubeLink) EmbedCode ¶
func (l *YoutubeLink) EmbedCode() template.HTML
func (*YoutubeLink) Key ¶
func (l *YoutubeLink) Key() string
func (*YoutubeLink) URL ¶
func (l *YoutubeLink) URL() string
type YoutubeParser ¶
type YoutubeParser struct { }
func (*YoutubeParser) Parse ¶
func (p *YoutubeParser) Parse(url string) MediaLink
Click to show internal directories.
Click to hide internal directories.