Versions in this module Expand all Collapse all v0 v0.0.1 May 22, 2025 Changes in this version + type Keys struct + CreatedAt string + Key string + KeyID string + type Signer interface + Keys func(ctx context.Context) (keys []Keys, errUC *types.CommonError) + Sign func(ctx context.Context, claim []byte, expire time.Time) (token string, errUC *types.CommonError) + type Usecase interface + type Verifier interface + Verify func(ctx context.Context, token string) (claim []byte, errUC *types.CommonError) + type VerifierOf interface + VerifyAs func(ctx context.Context, token string) (claim T, errUC *types.CommonError)