mirror of https://github.com/grpc/grpc-go.git
Fix a typo in interceptor example's README.md (#4014)
This commit is contained in:
parent
ea89aca6c6
commit
c6fa12175f
|
|
@ -76,7 +76,7 @@ user to operate on.
|
||||||
|
|
||||||
In the example, we define a new struct `wrappedStream`, which is embedded with a
|
In the example, we define a new struct `wrappedStream`, which is embedded with a
|
||||||
`ClientStream`. Then, we implement (overload) the `SendMsg` and `RecvMsg`
|
`ClientStream`. Then, we implement (overload) the `SendMsg` and `RecvMsg`
|
||||||
methods on `wrappedStream` to intercepts these two operations on the embedded
|
methods on `wrappedStream` to intercept these two operations on the embedded
|
||||||
`ClientStream`. In the example, we log the message type info and time info for
|
`ClientStream`. In the example, we log the message type info and time info for
|
||||||
interception purpose.
|
interception purpose.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue