mirror of
https://github.com/vbatts/imgsrv.git
synced 2024-11-30 12:05:42 +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{}
|
|
}
|