session_interceptor

package
v0.0.0-...-3f3259a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL