favicon

package module
v0.0.0-...-affa1c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

README

rrss-favicon

A tiny package to fetch favicon (and other sorts of icons) from websites.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Head(doc *html.Node) (*html.Node, error)

Types

type Icon

type Icon struct {
	Url      string
	Resolves bool
	PxWidth  int
	PxHeight int
}

func GetIconUrls

func GetIconUrls(url string) ([]Icon, error)

func Icons

func Icons(doc *html.Node) ([]Icon, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL