mock

package
Version: v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeServiceMessaging

type FakeServiceMessaging struct {
	FetchSMSClientFn    func() *interserviceclient.InterServiceClient
	FetchTwilioClientFn func() *interserviceclient.InterServiceClient
	SendSMSFn           func(ctx context.Context, phoneNumbers []string, message string) error
}

FakeServiceMessaging is an `Messaging` service mock .

func (*FakeServiceMessaging) FetchSMSClient

FetchSMSClient ...

func (*FakeServiceMessaging) FetchTwilioClient

FetchTwilioClient ...

func (*FakeServiceMessaging) SendSMS

func (f *FakeServiceMessaging) SendSMS(ctx context.Context, phoneNumbers []string, message string) error

SendSMS ...

Source Files

Jump to

Keyboard shortcuts

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