MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / NewSMSCache

Function NewSMSCache

internal/repository/cache/sms.go:27–31  ·  view source on GitHub ↗
(client redis.Cmdable)

Source from the content-addressed store, hash-verified

25}
26
27func NewSMSCache(client redis.Cmdable) SMSCache {
28 return &smsCache{
29 client: client,
30 }
31}
32
33const locked = "sms_locked"
34const VCodeKey = "sms:%s:%s"

Callers 2

TestSendCodeFunction · 0.92
InitWebServerFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestSendCodeFunction · 0.74