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:
parent
ff0998af4c
commit
9cc9b88d26
1 changed files with 7 additions and 4 deletions
|
@ -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{}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue