initial commit

This commit is contained in:
Christoph Haas
2020-11-05 19:37:51 +01:00
commit 93f7335b6e
70 changed files with 22081 additions and 0 deletions

19
cmd/wg-portal/main.go Normal file
View File

@@ -0,0 +1,19 @@
package main
import (
"github.com/h44z/wg-portal/internal/server"
log "github.com/sirupsen/logrus"
)
func main() {
log.Infof("Starting WireGuard Portal Server...")
service := server.Server{}
if err := service.Setup(); err != nil {
log.Fatalf("Setup failed: %v", err)
}
service.Run()
log.Infof("Stopped WireGuard Portal Server...")
}