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

Method Exist

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

Source from the content-addressed store, hash-verified

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
31 ReleaseLock(ctx context.Context, number string) error

Callers 1

ExistMethod · 0.65

Implementers 1

smsRepositoryinternal/repository/sms.go

Calls

no outgoing calls

Tested by

no test coverage detected