format code

master
kevin 4 years ago
parent 0a2c2d1eca
commit e6df21e0d2

@ -1,8 +1,6 @@
package internal package internal
import ( import "google.golang.org/grpc"
"google.golang.org/grpc"
)
func WithStreamClientInterceptors(interceptors ...grpc.StreamClientInterceptor) grpc.DialOption { func WithStreamClientInterceptors(interceptors ...grpc.StreamClientInterceptor) grpc.DialOption {
return grpc.WithChainStreamInterceptor(interceptors...) return grpc.WithChainStreamInterceptor(interceptors...)

@ -1,8 +1,6 @@
package internal package internal
import ( import "google.golang.org/grpc"
"google.golang.org/grpc"
)
func WithStreamServerInterceptors(interceptors ...grpc.StreamServerInterceptor) grpc.ServerOption { func WithStreamServerInterceptors(interceptors ...grpc.StreamServerInterceptor) grpc.ServerOption {
return grpc.ChainStreamInterceptor(interceptors...) return grpc.ChainStreamInterceptor(interceptors...)

Loading…
Cancel
Save