Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Serve ¶
func Serve(w http.ResponseWriter, r *http.Request)
Generates and server avatar in png format. Accepts query params
u = string for username s = an int for the image size
Any size below 24 is set to 24 and an empty u defaults to a fallback avatar image.
TODO:(gernest) Add caching for the images
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.