package
2.1.0+incompatible
Repository: https://github.com/jexia/semaphore.git
Documentation: pkg.go.dev

# Functions

HMAC creates simple JWT validator with provided secret string.
New creates custom function to validate JWT with provided validator.
RSA creates a JWT validator with provided public key.

# Interfaces

Claims interface.
Reader is a claims reader interface.

# Type aliases

ReaderFunc allows regular function with a proper signature to be used as a Reader.