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.
Click to show internal directories.
Click to hide internal directories.