mock

package
v0.0.0-...-6ebe9bd Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clock

type Clock struct {
	mock.Mock
}

func (*Clock) Now

func (m *Clock) Now() time.Time

type HTTPClient

type HTTPClient struct {
	mock.Mock
}

func (*HTTPClient) Do

func (m *HTTPClient) Do(method, url string, body interface{}, options ...option.RequestOption) (*http.Response, error)

type MailSender

type MailSender struct {
	mock.Mock
}

func (*MailSender) SendMail

func (m *MailSender) SendMail(recipient, subject, body string) error

Jump to

Keyboard shortcuts

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