Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithServiceAuth ¶
func WithServiceAuth(ctx context.Context, method string, req interface{}, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption, ) error
WithAuth serves as an grpc client intercepter appending the grpc context with the JWT user token for authentication on service level
func WithUnary ¶
func WithUnary(f grpc.UnaryClientInterceptor) grpc.DialOption
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.