favicon

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Init initializes the favicon cache.

func ServeFavicon

func ServeFavicon(w http.ResponseWriter, r *http.Request)

ServeFavicon looks up a favicon and serves the file in the desired dimensions if possible or the default icon otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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