handler

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2019 License: MIT Imports: 9 Imported by: 1

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL