handlers

package
v0.0.0-...-69cdfff Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteUser

func DeleteUser(w http.ResponseWriter, r *http.Request)

func FileServer

func FileServer(r chi.Router, path string, root http.FileSystem)

FileServer conveniently sets up a http.FileServer handler to serve static files from a http.FileSystem.

Blatantly stolen from https://github.com/go-chi/chi/blob/master/_examples/fileserver/main.go TODO: Move this to a separate package/file

func PollImages

func PollImages(w http.ResponseWriter, r *http.Request)

func Reset

func Reset(w http.ResponseWriter, r *http.Request)

func SubmitImage

func SubmitImage(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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