Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
LINK2JSON_DEBUG bool
)
Functions ¶
Types ¶
type ImageField ¶ added in v1.0.9
type ImageField struct {
URL string `json:"url"`
}
func (*ImageField) UnmarshalJSON ¶ added in v1.0.9
func (i *ImageField) UnmarshalJSON(data []byte) error
type MetaDataResponseItem ¶
type MetaDataResponseItem struct {
Title string `json:"title"`
Description string `json:"description"`
Images []WebImage `json:"images"`
Sitename string `json:"sitename"`
Favicon string `json:"favicon"`
Duration int `json:"duration"`
Domain string `json:"domain"`
URL string `json:"url"`
}
func GetMetadata ¶
func GetMetadata(targetURL string) (*MetaDataResponseItem, error)
Click to show internal directories.
Click to hide internal directories.