smegmesh/cmd/api/main.go
2023-11-13 10:44:14 +00:00

18 lines
201 B
Go

package main
import (
"log"
"github.com/tim-beatham/wgmesh/pkg/api"
)
func main() {
apiServer, err := api.NewSmegServer()
if err != nil {
log.Fatal(err.Error())
}
apiServer.Run(":8080")
}