Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SessionStreamClientInterceptor ¶
func SessionStreamClientInterceptor() grpc.StreamClientInterceptor
SessionStreamClientInterceptor - set user-id to gRPC metadata for each request
func SessionStreamServerInterceptor ¶
func SessionStreamServerInterceptor() grpc.StreamServerInterceptor
SessionStreamServerInterceptor - extracts user-id from gRPC metadata and adds it to context for streams
func SessionUnaryClientInterceptor ¶
func SessionUnaryClientInterceptor() grpc.UnaryClientInterceptor
SessionUnaryClientInterceptor - set user-id to gRPC metadata for each request
func SessionUnaryServerInterceptor ¶
func SessionUnaryServerInterceptor() grpc.UnaryServerInterceptor
SessionUnaryServerInterceptor - extracts user-id from gRPC metadata and adds it to context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.