1
0
Fork 0
mirror of https://github.com/vbatts/imgsrv.git synced 2024-11-27 02:25:41 +00:00

thinking about how to do a stand alone web server

This commit is contained in:
Vincent Batts 2013-10-09 09:41:02 -04:00
parent ff0998af4c
commit 9cc9b88d26

View file

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