mocks

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailDialer

type EmailDialer struct {
	mock.Mock
}

EmailDialer is an autogenerated mock type for the EmailDialer type

func (*EmailDialer) DialAndSend

func (_m *EmailDialer) DialAndSend(m ...*gomail.Message) error

DialAndSend provides a mock function with given fields: m

type LoggerItf

type LoggerItf struct {
	mock.Mock
}

LoggerItf is an autogenerated mock type for the LoggerItf type

func (*LoggerItf) ChangeLevel

func (_m *LoggerItf) ChangeLevel(level string) error

ChangeLevel provides a mock function with given fields: level

func (*LoggerItf) Core

func (_m *LoggerItf) Core() zapcore.Core

Core provides a mock function with given fields:

func (*LoggerItf) DPanic

func (_m *LoggerItf) DPanic(msg string, fields ...zapcore.Field)

DPanic provides a mock function with given fields: msg, fields

func (*LoggerItf) Debug

func (_m *LoggerItf) Debug(msg string, fields ...zapcore.Field)

Debug provides a mock function with given fields: msg, fields

func (*LoggerItf) DebugSample

func (_m *LoggerItf) DebugSample(sample int, msg string, fields ...zapcore.Field)

DebugSample provides a mock function with given fields: sample, msg, fields

func (*LoggerItf) Error

func (_m *LoggerItf) Error(msg string, fields ...zapcore.Field)

Error provides a mock function with given fields: msg, fields

func (*LoggerItf) Fatal

func (_m *LoggerItf) Fatal(msg string, fields ...zapcore.Field)

Fatal provides a mock function with given fields: msg, fields

func (*LoggerItf) Info

func (_m *LoggerItf) Info(msg string, fields ...zapcore.Field)

Info provides a mock function with given fields: msg, fields

func (*LoggerItf) InfoSample

func (_m *LoggerItf) InfoSample(sample int, msg string, fields ...zapcore.Field)

InfoSample provides a mock function with given fields: sample, msg, fields

func (*LoggerItf) Level

func (_m *LoggerItf) Level() zapcore.Level

Level provides a mock function with given fields:

func (*LoggerItf) Panic

func (_m *LoggerItf) Panic(msg string, fields ...zapcore.Field)

Panic provides a mock function with given fields: msg, fields

func (*LoggerItf) Sync

func (_m *LoggerItf) Sync() error

Sync provides a mock function with given fields:

func (*LoggerItf) Warn

func (_m *LoggerItf) Warn(msg string, fields ...zapcore.Field)

Warn provides a mock function with given fields: msg, fields

func (*LoggerItf) WarnSample

func (_m *LoggerItf) WarnSample(sample int, msg string, fields ...zapcore.Field)

WarnSample provides a mock function with given fields: sample, msg, fields

Jump to

Keyboard shortcuts

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