Versions in this module Expand all Collapse all v1 v1.0.0 Jul 7, 2024 Changes in this version + type Config struct + BackupSecret string + Secret string + Timeout time.Duration + type Service interface + RandomUUID func() string + Verify func(ctx context.Context, token string, ip string) (bool, error) + VerifyBackup func(ctx context.Context, token string, ip string) (bool, error) + VerifyBackupIdempotent func(ctx context.Context, token string, ip string, key string) (bool, error) + VerifyIdempotent func(ctx context.Context, token string, ip string, key string) (bool, error) + func New(config Config) Service