mirror of
https://github.com/vbatts/imgsrv.git
synced 2024-12-25 15:26:30 +00:00
16 lines
235 B
Go
16 lines
235 B
Go
package server
|
|
|
|
import (
|
|
"github.com/gorilla/mux"
|
|
"github.com/vbatts/imgsrv/config"
|
|
"github.com/vbatts/imgsrv/dbutil"
|
|
)
|
|
|
|
type Web struct {
|
|
Router *mux.Router
|
|
Store dbutil.Util
|
|
}
|
|
|
|
func New(c config.Config) *Web {
|
|
return &Web{}
|
|
}
|