Documentation ¶
Index ¶
- Variables
- func GetClientInterceptor() grpc.UnaryClientInterceptor
- func GetServerInterceptor() grpc.UnaryServerInterceptor
- func NullClientInterceptorFunc(ctx context.Context, method string, req, reply interface{}, ...) error
- func NullServerInterceptorFunc(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (reply interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var NullClientInterceptor grpc.UnaryClientInterceptor = NullClientInterceptorFunc
null client interceptor
View Source
var NullServerInterceptor grpc.UnaryServerInterceptor = NullServerInterceptorFunc
null server interceptor
Functions ¶
func GetClientInterceptor ¶
func GetClientInterceptor() grpc.UnaryClientInterceptor
func GetServerInterceptor ¶
func GetServerInterceptor() grpc.UnaryServerInterceptor
func NullClientInterceptorFunc ¶
func NullClientInterceptorFunc(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error
func NullServerInterceptorFunc ¶
func NullServerInterceptorFunc(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (reply interface{}, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.