Versions in this module Expand all Collapse all v1 v1.0.0 Dec 21, 2017 Changes in this version + type Link struct + Href string + Rel string + func LinkTag(n *html.Node) *Link + func (link *Link) Contribute(og *OpenGraph) error + func (link *Link) IsFavicon() bool + type Meta struct + Content string + Name string + Property string + func MetaTag(n *html.Node) *Meta + func (m *Meta) Contribute(og *OpenGraph) error + func (m *Meta) IsDescription() bool + func (m *Meta) IsImage() bool + func (m *Meta) IsImageProperty() bool + func (m *Meta) IsSiteName() bool + func (m *Meta) IsTitle() bool + func (m *Meta) IsType() bool + type OGAudio struct + SURL string + Type string + URL string + type OGImage struct + Alt string + Height int + SURL string + Type string + URL string + Width int + type OGVideo struct + Height int + SURL string + Type string + URL string + Width int + type OpenGraph struct + Audio []*OGAudio + Description string + Determiner string + Error error + Favicon string + HTTPClient *http.Client + Image []*OGImage + Locale string + LocaleAlt []string + SiteName string + Title string + Type string + URL URL + Video []*OGVideo + func Fetch(rawurl string, customHTTPClient ...*http.Client) (*OpenGraph, error) + func New(rawurl string) *OpenGraph + func (og *OpenGraph) Fulfill() error + func (og *OpenGraph) Parse(body io.Reader) error + func (og *OpenGraph) ToAbsURL() *OpenGraph + type Title struct + Text string + func TitleTag(n *html.Node) *Title + func (t *Title) Contribute(og *OpenGraph) error + type URL struct + Source string