diff --git a/examples/rpc/main.go b/examples/rpc/main.go index 097ccfbc..cbcd5873 100644 --- a/examples/rpc/main.go +++ b/examples/rpc/main.go @@ -83,6 +83,8 @@ func testConsumer(ctx context.Context) error { case rpc.BootDeviceMethod: + case rpc.PingMethod: + rp.Result = "pong" default: w.WriteHeader(http.StatusNotFound) }