diff --git a/examples/hello/main.go b/examples/hello/main.go index 2222a98..2ee3479 100644 --- a/examples/hello/main.go +++ b/examples/hello/main.go @@ -12,9 +12,7 @@ import ( ) func main() { - if err := agent.Listen(&agent.Options{ - Addr: "127.0.0.1:4321", - }); err != nil { + if err := agent.Listen(nil); err != nil { log.Fatal(err) } time.Sleep(time.Hour)