avatar

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: AGPL-3.0 Imports: 7 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 = for user id which is a uint64
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