mirror of
https://github.com/vbatts/imgsrv.git
synced 2025-07-04 08:18:30 +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
|
@ -2,6 +2,7 @@ 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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -10,4 +11,6 @@ type Web struct {
|
||||||
Store dbutil.Util
|
Store dbutil.Util
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func New(c config.Config) *Web {
|
||||||
|
return &Web{}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue