handler

package
v0.0.0-...-53f8848 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImageHandler

func GetImageHandler(rootPath string) func(w http.ResponseWriter, r *http.Request)

GetImageHandler builds & returns a new http handler that responds to requests with an image scaled & rotated with the supplied

func GetListingUIHandler

func GetListingUIHandler(rootPath string) func(w http.ResponseWriter, r *http.Request)

GetListingUIHandler builds & returns the album listing ui

func GetNoCacheWrapper

func GetNoCacheWrapper(h http.Handler) func(w http.ResponseWriter, r *http.Request)

wrapNoCache wraps 2 handlers into one & add no-cache headerse

func GetViewingUIHandler

func GetViewingUIHandler(rootPath string) func(w http.ResponseWriter, r *http.Request)

GetViewingUIHandler builds & returns the album viewing ui

Types

This section is empty.

Jump to

Keyboard shortcuts

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