mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-16 05:05:17 +00:00
20 lines
297 B
Go
20 lines
297 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"log"
|
|
"os"
|
|
|
|
cmdlib "github.com/libp2p/go-libp2p/p2p/transport/quic/cmd/lib"
|
|
)
|
|
|
|
func main() {
|
|
if len(os.Args) != 2 {
|
|
fmt.Printf("Usage: %s <port>", os.Args[0])
|
|
return
|
|
}
|
|
if err := cmdlib.RunServer(os.Args[1], nil); err != nil {
|
|
log.Fatalf(err.Error())
|
|
}
|
|
}
|