Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Favii ¶
type Favii struct {
// contains filtered or unexported fields
}
Favii is basically a client to use the struct. It has a http.Client for doing all HTTP Requests for fetching the HTML Pages.
type Link ¶
Link is a simple struct to keep rel and href attributes of an HTML Page mostly contains the details about link tag.
type Meta ¶
Meta is a simple struct to keep name and content attributes of an HTML Page mostly contains the details about meta tag.
type MetaInfo ¶
type MetaInfo struct { URL *url.URL Manifest Link ThemeColor string BackgroundColor string Metas []Meta Links []Link }
MetaInfo with metadata details, this includes the URL used for requesting or calling GetMetaInfo() as well.
func (*MetaInfo) GetFaviconURL ¶
GetFaviconURL for getting favicon URL from the MetaInfo, using link tags, or use default /favicon.ico.
func (*MetaInfo) GetManifest ¶
GetManifest from the MetaInfo, using link tags.
Click to show internal directories.
Click to hide internal directories.