mocks

package
v1.17.1 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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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