Versions in this module Expand all Collapse all v1 v1.0.0 Oct 19, 2014 Changes in this version + func InternalErrorOnErrorHandler(writer http.ResponseWriter, req *http.Request, ...) + func NewGzipHandler(handler http.Handler) http.Handler + type AlbumHandler struct + func NewAlbumHandler(lib library.Library) *AlbumHandler + func (fh AlbumHandler) ServeHTTP(writer http.ResponseWriter, req *http.Request) + type BasicAuthHandler struct + func (hl BasicAuthHandler) ServeHTTP(writer http.ResponseWriter, req *http.Request) + type FileHandler struct + func NewFileHandler(lib library.Library) *FileHandler + func (fh FileHandler) ServeHTTP(writer http.ResponseWriter, req *http.Request) + type GzipHandler struct + func (gzh GzipHandler) ServeHTTP(writer http.ResponseWriter, req *http.Request) + type SearchHandler struct + func NewSearchHandler(lib library.Library) *SearchHandler + func (sh SearchHandler) ServeHTTP(writer http.ResponseWriter, req *http.Request) + type Server struct + func NewServer(cfg config.Config, lib library.Library) (srv *Server) + func (srv *Server) Serve() + func (srv *Server) Stop() + func (srv *Server) Wait()