mirror of
https://github.com/vbatts/imgsrv.git
synced 2025-07-05 00:38:28 +00:00
moar pulling back of database calls from the server
This commit is contained in:
parent
6e439b0de4
commit
c737976121
3 changed files with 45 additions and 5 deletions
13
server/server.go
Normal file
13
server/server.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package server
|
||||
|
||||
import (
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/vbatts/imgsrv/dbutil"
|
||||
)
|
||||
|
||||
type Web struct {
|
||||
Router *mux.Router
|
||||
Store dbutil.Util
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue