Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type URLMetaData ¶
type URLMetaData struct { Title string `meta:"og:title,title" json:"title"` Description string `meta:"og:description,description" json:"description"` Type string `meta:"og:type" json:"type"` URL url.URL `meta:"og:url" json:"url"` Image string `meta:"og:image" json:"image"` Time time.Time `meta:"article:published_time,parsely-pub-date" json:"time"` VideoWidth int64 `meta:"og:video:width" json:"video_width"` VideoHeight int64 `meta:"og:video:height" json:"video_height"` }
URLMetaData struct
func FetchData ¶
func FetchData(url string) (*URLMetaData, error)
FetchData for fetch metadata from header of body
Click to show internal directories.
Click to hide internal directories.