diff --git a/server/server.go b/server/server.go index a10480a..f0d1885 100644 --- a/server/server.go +++ b/server/server.go @@ -1,13 +1,16 @@ package server import ( - "github.com/gorilla/mux" + "github.com/gorilla/mux" + "github.com/vbatts/imgsrv/config" "github.com/vbatts/imgsrv/dbutil" ) type Web struct { - Router *mux.Router - Store dbutil.Util + Router *mux.Router + Store dbutil.Util } - +func New(c config.Config) *Web { + return &Web{} +}