Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PreviewTagInfo ¶
func PreviewTagInfo(body io.Reader) (tagInfo models.MediaPreview, err error)
PreviewTagInfo parses the given HTML io.Reader and returns the social media link preview meta tag information.
Types ¶
type Preview ¶
type Preview struct { models.MediaPreview `json:"mediaPreview"` Redirect string `json:"redirect"` }
Click to show internal directories.
Click to hide internal directories.