Skip to content

Commit

Permalink
grpcserver.go: add link to ochgrpc ServerHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
willgreenberg committed Aug 16, 2019
1 parent ca06fe5 commit c3a2ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grpc/grpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type serviceImpl struct {
// RegisterGRPCServer registers the given grpc.Server with
// a Universe for GetFromPeer calls over RPC. In order for traces
// to propogate properly, create the grpcServer with an opencensus
// ServerHandler
// ServerHandler (https://godoc.org/go.opencensus.io/plugin/ocgrpc#example-ServerHandler)
func RegisterGRPCServer(universe *gc.Universe, grpcServer *grpc.Server) {
pb.RegisterGalaxyCacheServer(grpcServer, &serviceImpl{universe: universe})
}
Expand Down

0 comments on commit c3a2ca5

Please sign in to comment.