pnyx/cmd/client/main.go

18 lines
259 B
Go

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