pnyx/cmd/client/main.go

18 lines
259 B
Go

package main
import (
"fmt"
"os"
"git.metznet.ca/MetzNet/pnyx"
)
func main() {
client, err := pnyx.NewClient(nil, os.Args[1])
if err != nil {
panic(err)
}
fmt.Printf("Started session %s with %s", client.Session.ID, client.Session.Peer)
}