favicon

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFavIcon

func GetFavIcon(w http.ResponseWriter, req *http.Request)

GetFavIcon returns the favicon of the route

Returns:

  • 200 OK: if icon found
  • 400 Bad Request: if alias is empty or route is not HTTPRoute
  • 404 Not Found: if route or icon not found
  • 500 Internal Server Error: if internal error
  • others: depends on route handler response

Types

This section is empty.

Jump to

Keyboard shortcuts

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