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

Interface EmailRepository

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

Source from the content-addressed store, hash-verified

11)
12
13type EmailRepository interface {
14 SendCode(ctx context.Context, email string) error
15 CheckCode(ctx context.Context, email, vCode string) (bool, error)
16}
17
18// emailRepository 实现了 EmailRepository 接口
19type emailRepository struct {

Callers

nothing calls this directly

Implementers 4

MockSmsServiceinternal/service/mocks/sms.mock.go
MockSmsServiceMockRecorderinternal/service/mocks/sms.mock.go
emailRepositoryinternal/repository/email.go
smsRepositoryinternal/repository/sms.go

Calls

no outgoing calls

Tested by

no test coverage detected