Skip to content

Commit afb47e0

Browse files
authored
renamed stats.Handler to grpc.StatsHandler
To avoid confusion about stats and be more explicit about the type our gRPC middleware implements I have renamed stats.Handler to grpc.StatsHandler
1 parent 5d4b11f commit afb47e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ For convenience `NewClient` is provided which returns a HTTP Client which embeds
5555
calling the `DoWithAppSpan()` method.
5656

5757
#### grpc
58-
Easy to use stats.Handler middleware are provided for tracing gRPC server and
58+
Easy to use grpc.StatsHandler middleware are provided for tracing gRPC server and
5959
client requests.
6060

6161
For a server, pass `NewServerHandler` when calling `NewServer`, e.g.,

0 commit comments

Comments
 (0)