Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
func
NewSMSCache(client redis.Cmdable) SMSCache {
28
return
&smsCache{
29
client: client,
30
}
31
}
32
33
const
locked =
"sms_locked"
34
const
VCodeKey =
"sms:%s:%s"
Callers
2
TestSendCode
Function · 0.92
InitWebServer
Function · 0.92
Calls
no outgoing calls
Tested by
1
TestSendCode
Function · 0.74