You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
547 B

// wireguard-negotiator is a tool to exchange WireGuard keys over HTTP(S).
package main // import "github.com/serverwentdown/wireguard-negotiator"
import (
"log"
"os"
"github.com/serverwentdown/wireguard-negotiator/cmd"
"github.com/urfave/cli/v2"
)
func main() {
app := &cli.App{
Name: "wireguard-negotiator",
Usage: "Exchange WireGuard keys over HTTP(S)",
Flags: []cli.Flag{},
Commands: []*cli.Command{
cmd.CmdServer,
cmd.CmdRequest,
cmd.CmdDump,
},
}
err := app.Run(os.Args)
if err != nil {
log.Fatal(err)
}
}