avatar

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

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