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

Method StoreVCode

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

Source from the content-addressed store, hash-verified

25 AddUserOperationLog(ctx context.Context, log dao.VCodeSmsLog) error
26 SetNX(ctx context.Context, number string, value interface{}, expiration time.Duration) (*redis.BoolCmd, error)
27 StoreVCode(ctx context.Context, smsID, number string, vCode string) error
28 Exist(ctx context.Context, number string) bool
29 Count(ctx context.Context, number string) int
30 IncrCnt(ctx context.Context, number string) error

Callers 2

SendCodeMethod · 0.65
StoreVCodeMethod · 0.65

Implementers 1

smsRepositoryinternal/repository/sms.go

Calls

no outgoing calls

Tested by

no test coverage detected