Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTokenNotValid = errors.New("jwt token is no longer valid") ErrParsingToken = errors.New("error parsing jwt token") )
Functions ¶
func GenerateToken ¶
func UnaryInterceptorLogger ¶
func UnaryInterceptorLogger(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
func ValidateToken ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.