Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Jwt ¶
func Jwt(jwtF *jwt.JWTFactory, jumps map[string]bool) grpc.UnaryServerInterceptor
func Log ¶
func Log() grpc.UnaryServerInterceptor
func Recover ¶
func Recover() grpc.UnaryServerInterceptor
Types ¶
type JwtInterceptor ¶
type JwtInterceptor struct {
// contains filtered or unexported fields
}
func NewJwtInterceptor ¶
func NewJwtInterceptor(jwtFactory *jwt.JWTFactory, jumps map[string]bool) *JwtInterceptor
func (*JwtInterceptor) Serve ¶
func (i *JwtInterceptor) Serve(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)
Click to show internal directories.
Click to hide internal directories.