We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c64c40f commit 35743f9Copy full SHA for 35743f9
common/interfaces.go
@@ -12,7 +12,7 @@ import (
12
)
13
14
type Interceptor interface {
15
- UnaryInterceptor() grpc.UnaryServerInterceptor
+ UnaryServerInterceptor() grpc.UnaryServerInterceptor
16
Name() string
17
}
18
server.go
@@ -33,7 +33,7 @@ func (p *Plugin) createGRPCserver(interceptors map[string]common.Interceptor) (*
33
for _, interceptor := range interceptors {
34
unaryInterceptors = append(
35
unaryInterceptors,
36
- interceptor.UnaryInterceptor(),
+ interceptor.UnaryServerInterceptor(),
37
38
39
0 commit comments