Documentation ¶
Index ¶
- type EmailVerification
- func (emailVerification *EmailVerification) Init() error
- func (emailVerification EmailVerification) SendVerification(ctx context.Context, request *proto.SendVerificationRequest, ...) error
- func (emailVerification EmailVerification) Verify(ctx context.Context, request *proto.VerifyRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailVerification ¶
type EmailVerification struct {
// contains filtered or unexported fields
}
EmailVerification is used to handle for email verification service
func (*EmailVerification) Init ¶
func (emailVerification *EmailVerification) Init() error
Init is used to initialize the handler
func (EmailVerification) SendVerification ¶
func (emailVerification EmailVerification) SendVerification( ctx context.Context, request *proto.SendVerificationRequest, response *proto.SendVerificationResponse) error
SendVerification is used to handler SendVerification function
func (EmailVerification) Verify ¶
func (emailVerification EmailVerification) Verify( ctx context.Context, request *proto.VerifyRequest, response *proto.VerifyResponse) error
Verify is used to handle Verify Function
Click to show internal directories.
Click to hide internal directories.