interceptor

package
v0.0.0-...-1f982fd Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnaryServerInterceptor

func UnaryServerInterceptor() grpc.UnaryServerInterceptor

func UserIDUnaryInterceptor

func UserIDUnaryInterceptor(svc *service.Service, excludeMethods []string) grpc.UnaryServerInterceptor

UserIDUnaryInterceptor checks JWT token and injects userID into context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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