Documentation ¶
Index ¶
- func GetImageHandler(rootPath string) func(w http.ResponseWriter, r *http.Request)
- func GetListingUIHandler(rootPath string) func(w http.ResponseWriter, r *http.Request)
- func GetNoCacheWrapper(h http.Handler) func(w http.ResponseWriter, r *http.Request)
- func GetViewingUIHandler(rootPath string) func(w http.ResponseWriter, r *http.Request)
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.