func Decryptor(d TokenDecryptor) Option {
	return func(p *PasetoMiddleware) {
		p.Decryptor = d
	}
}
Decryptor decrypts the Paseto token that was retrieved through Extractor
package pasetomiddleware
import (
	"net/http"
	"github.com/o1egl/paseto"
)
type ErrorHandler func(w http.ResponseWriter, r *http.Request, err error)
type TokenExtractor func(r *http.Request) (string, error)
type TokenDecryptor func(pas string, token *paseto.JSONToken, footer *string) error
func Error(eh ErrorHandler) Option {
	return func(p *PasetoMiddleware) {
		p.ErrorHandler = eh
	}
}
func Extractor(e TokenExtractor) Option {
	return func(p *PasetoMiddleware) {
		p.Extractor = e
	}
}