핸들러 및 서비스 테스트 리팩토링

This commit is contained in:
kyy committed 2026-02-10 09:07:47 +09:00
1 parent f16cb9a344
commit 15a27a6620
4 files changed
+164 -5

No files matched your search

+10
View File
@@ -32,3 +32,13 @@ type AuditCursor struct {
Timestamp time.Time
EventID string
}
// RedisRepository defines interface for KV storage (Redis)
type RedisRepository interface {
Set(key string, value string, expiration time.Duration) error
Get(key string) (string, error)
Delete(key string) error
StoreVerificationCode(phone, code string) error
GetVerificationCode(phone string) (string, error)
DeleteVerificationCode(phone string) error
}