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
1 changed files with 7 additions and 4 deletions

View File

@ -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{}
}