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

Method ReleaseLock

internal/repository/sms.go:90–92  ·  view source on GitHub ↗
(ctx context.Context, number string)

Source from the content-addressed store, hash-verified

88}
89
90func (s *smsRepository) ReleaseLock(ctx context.Context, number string) error {
91 return s.cache.ReleaseLock(ctx, number)
92}
93
94func (s *smsRepository) SendCode(ctx context.Context, number string) error {
95 // 限制:用户一分钟内只能发送一次sms请求 && 用户一天内只能发送5次SMS请求

Callers

nothing calls this directly

Calls 1

ReleaseLockMethod · 0.65

Tested by

no test coverage detected