Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Artscollection map[string]*collection.Collection
View Source
var ImageMaxHeight = 960
ImageMaxHeight specifies the height in pixel wich the served image is resized
View Source
var ImageMaxWidth = 960
ImageMaxWidth specifies the width in pixel wich the served image is resized
View Source
var ImageResizeFunction = resize.Lanczos3
ImageResizeFunction defines the resize algorithm
View Source
var ServerPort = ":8081"
View Source
var Storager = storage.NewTxtStorage()
Functions ¶
func HomeHandler ¶
func HomeHandler(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.