feat(server, handler): add server and handler stubs
This commit is contained in:
parent
c258511752
commit
6ae65fe09b
7 changed files with 178 additions and 0 deletions
16
cmd/main.go
Normal file
16
cmd/main.go
Normal file
|
@ -0,0 +1,16 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/ihexxa/quickshare/src/server"
|
||||
|
||||
"github.com/ihexxa/gocfg"
|
||||
)
|
||||
|
||||
func main() {
|
||||
cfg := gocfg.New()
|
||||
srv, err := server.NewServer(cfg)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
srv.Start()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue