Uuuh, lots of stuff
More config, moved files, some endpoints (wip), some storage
This commit is contained in:
parent
f3514b5a42
commit
935fc33094
18 changed files with 394 additions and 70 deletions
13
server/server.go
Normal file
13
server/server.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package server
|
||||
|
||||
import (
|
||||
"github.com/julienschmidt/httprouter"
|
||||
"gitlab.com/mstarongitlab/linstrom/config"
|
||||
"gitlab.com/mstarongitlab/linstrom/storage"
|
||||
)
|
||||
|
||||
type Server struct {
|
||||
Router *httprouter.Router
|
||||
Storage *storage.Storage
|
||||
Config *config.Config
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue