port

package
v0.0.0-...-2a243e4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 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 DeliveryMock

type DeliveryMock struct {
	mock.Mock
}

DeliveryMock implements notification.Delivery

func (*DeliveryMock) SendNotification

func (m *DeliveryMock) SendNotification(notification domain.Notification) error

type GeneratorMock

type GeneratorMock struct {
	mock.Mock
}

GeneratorMock implements template.Generator

func (*GeneratorMock) FormatSummary

func (m *GeneratorMock) FormatSummary(summary domain.Summary) (string, error)

type RepositoryMock

type RepositoryMock struct {
	mock.Mock
}

RepositoryMock implements report.Repository

func (*RepositoryMock) SaveErrorReport

func (m *RepositoryMock) SaveErrorReport(fileName string, date time.Time, err error)

func (*RepositoryMock) SaveSuccessReport

func (m *RepositoryMock) SaveSuccessReport(report domain.SuccessReport) error

Jump to

Keyboard shortcuts

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