Skip to content

Commit

Permalink
Update UnknownServiceHandler comment to be clearer about interceptor …
Browse files Browse the repository at this point in the history
…behavior (#1566)
  • Loading branch information
dfawley authored Oct 5, 2017
1 parent 22c3f92 commit 5279edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func StatsHandler(h stats.Handler) ServerOption {
// handler that will be invoked instead of returning the "unimplemented" gRPC
// error whenever a request is received for an unregistered service or method.
// The handling function has full access to the Context of the request and the
// stream, and the invocation passes through interceptors.
// stream, and the invocation bypasses interceptors.
func UnknownServiceHandler(streamHandler StreamHandler) ServerOption {
return func(o *options) {
o.unknownStreamDesc = &StreamDesc{
Expand Down

0 comments on commit 5279edf

Please sign in to comment.