github.com/newrelic/go-agent@v3.26.0+incompatible/_integrations/nrgrpc/testapp/README.md (about)

     1  # Testing gRPC Application
     2  
     3  This directory contains a testing application for validating the New Relic gRPC
     4  integration.  The code in `testapp.pb.go` is generated using the following
     5  command (to be run from the `_integrations/nrgrpc` directory).  This command
     6  should be rerun every time the `testapp.proto` file has changed for any reason.
     7  
     8  ```bash
     9  $ protoc -I testapp/ testapp/testapp.proto --go_out=plugins=grpc:testapp
    10  ```
    11  
    12  To install required dependencies:
    13  
    14  ```bash
    15  go get -u google.golang.org/grpc
    16  go get -u github.com/golang/protobuf/protoc-gen-go
    17  ```