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

Method AddUserOperationLog

internal/repository/sms.go:25–25  ·  view source on GitHub ↗
(ctx context.Context, log dao.VCodeSmsLog)

Source from the content-addressed store, hash-verified

23type SmsRepository interface {
24 CheckCode(ctx context.Context, smsID, number, vCode string) (bool, error)
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

Callers

nothing calls this directly

Implementers 1

smsRepositoryinternal/repository/sms.go

Calls

no outgoing calls

Tested by

no test coverage detected