mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2024-12-14 02:21:30 +01:00
68db795f47
Ability to specify aliases that automatically append to /etc/hosts
18 lines
202 B
Go
18 lines
202 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(":40000")
|
|
}
|