feat(server, handler): add server and handler stubs

This commit is contained in:
hexxa 2020-11-26 20:24:18 +08:00
parent c258511752
commit 6ae65fe09b
7 changed files with 178 additions and 0 deletions

16
cmd/main.go Normal file
View 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()
}