|
|
|
@ -1,8 +1,6 @@
|
|
|
|
|
package internal
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"google.golang.org/grpc"
|
|
|
|
|
)
|
|
|
|
|
import "google.golang.org/grpc"
|
|
|
|
|
|
|
|
|
|
func WithStreamClientInterceptors(interceptors ...grpc.StreamClientInterceptor) grpc.DialOption {
|
|
|
|
|
return grpc.WithChainStreamInterceptor(interceptors...)
|
|
|
|
@ -10,4 +8,4 @@ func WithStreamClientInterceptors(interceptors ...grpc.StreamClientInterceptor)
|
|
|
|
|
|
|
|
|
|
func WithUnaryClientInterceptors(interceptors ...grpc.UnaryClientInterceptor) grpc.DialOption {
|
|
|
|
|
return grpc.WithChainUnaryInterceptor(interceptors...)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|