server

package
v0.0.0-...-ba60b02 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2017 License: MIT, Apache-2.0 Imports: 21 Imported by: 0

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)

func Serve

func Serve()

Types

This section is empty.

Jump to

Keyboard shortcuts

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