Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v1.1.21 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OTPService

type OTPService struct {
	mock.Mock
}

OTPService is an autogenerated mock type for the IOTP type

func (*OTPService) Call

func (_m *OTPService) Call(ormService *beeorm.Engine, phone *otp.Phone, customMessage string) (string, error)

Call provides a mock function with given fields: ormService, phone, customMessage

func (*OTPService) SendSMS

func (_m *OTPService) SendSMS(ormService *beeorm.Engine, phone *otp.Phone) (string, error)

SendSMS provides a mock function with given fields: ormService, phone

func (*OTPService) VerifyOTP

func (_m *OTPService) VerifyOTP(ormService *beeorm.Engine, phone *otp.Phone, code string) (bool, bool, error)

VerifyOTP provides a mock function with given fields: ormService, phone, code

Jump to

Keyboard shortcuts

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