1 2 3 4 5 6 7 8 9 10 11 12 13
package api import ( "net/http" ) // Server exposes the gallery over HTTP type Server struct { config Config mux *http.ServeMux http *http.Server }