mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2024-12-13 18:11:25 +01:00
18 lines
201 B
Go
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")
|
|
}
|