mock

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMSServiceMock

type SMSServiceMock struct{}

SMSServiceMock mocks SMS service.

func NewSMSService

func NewSMSService() (*SMSServiceMock, error)

NewSMSService returns pointer to newly created SMS service mock.

func (*SMSServiceMock) SendSMS

func (ss *SMSServiceMock) SendSMS(recipient, message string) error

SendSMS implements SMSService.

Jump to

Keyboard shortcuts

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