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

Interface EmailCache

internal/repository/cache/email.go:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type EmailCache interface {
11 GetVCode(ctx context.Context, email string) (string, error)
12 StoreVCode(ctx context.Context, email, vCode string) error
13}
14
15type emailCache struct {
16 client redis.Cmdable

Callers

nothing calls this directly

Implementers 2

emailCacheinternal/repository/cache/email.go
smsCacheinternal/repository/cache/sms.go

Calls

no outgoing calls

Tested by

no test coverage detected