mock_postdog

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_postdog is a generated GoMock package.

Package mock_postdog is a generated GoMock package.

Package mock_postdog is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLogger

type MockLogger struct {
	// contains filtered or unexported fields
}

MockLogger is a mock of Logger interface

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLogger) Log

func (m *MockLogger) Log(v ...interface{})

Log mocks base method

type MockLoggerMockRecorder

type MockLoggerMockRecorder struct {
	// contains filtered or unexported fields
}

MockLoggerMockRecorder is the mock recorder for MockLogger

func (*MockLoggerMockRecorder) Log

func (mr *MockLoggerMockRecorder) Log(v ...interface{}) *gomock.Call

Log indicates an expected call of Log

type MockMiddleware

type MockMiddleware struct {
	// contains filtered or unexported fields
}

MockMiddleware is a mock of Middleware interface

func NewMockMiddleware

func NewMockMiddleware(ctrl *gomock.Controller) *MockMiddleware

NewMockMiddleware creates a new mock instance

func (*MockMiddleware) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMiddleware) Handle

Handle mocks base method

type MockMiddlewareMockRecorder

type MockMiddlewareMockRecorder struct {
	// contains filtered or unexported fields
}

MockMiddlewareMockRecorder is the mock recorder for MockMiddleware

func (*MockMiddlewareMockRecorder) Handle

func (mr *MockMiddlewareMockRecorder) Handle(ctx, let, next interface{}) *gomock.Call

Handle indicates an expected call of Handle

type MockPlugin

type MockPlugin struct {
	// contains filtered or unexported fields
}

MockPlugin is a mock of Plugin interface

func NewMockPlugin

func NewMockPlugin(ctrl *gomock.Controller) *MockPlugin

NewMockPlugin creates a new mock instance

func (*MockPlugin) EXPECT

func (m *MockPlugin) EXPECT() *MockPluginMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPlugin) Install

func (m *MockPlugin) Install(arg0 postdog.PluginContext)

Install mocks base method

type MockPluginContext

type MockPluginContext struct {
	// contains filtered or unexported fields
}

MockPluginContext is a mock of PluginContext interface

func NewMockPluginContext

func NewMockPluginContext(ctrl *gomock.Controller) *MockPluginContext

NewMockPluginContext creates a new mock instance

func (*MockPluginContext) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPluginContext) Log

func (m *MockPluginContext) Log(arg0 ...interface{})

Log mocks base method

func (*MockPluginContext) WithMiddleware

func (m *MockPluginContext) WithMiddleware(arg0 ...postdog.Middleware)

WithMiddleware mocks base method

func (*MockPluginContext) WithSendHook

func (m *MockPluginContext) WithSendHook(arg0 postdog.SendHook, arg1 ...func(context.Context, letter.Letter))

WithSendHook mocks base method

type MockPluginContextMockRecorder

type MockPluginContextMockRecorder struct {
	// contains filtered or unexported fields
}

MockPluginContextMockRecorder is the mock recorder for MockPluginContext

func (*MockPluginContextMockRecorder) Log

func (mr *MockPluginContextMockRecorder) Log(arg0 ...interface{}) *gomock.Call

Log indicates an expected call of Log

func (*MockPluginContextMockRecorder) WithMiddleware

func (mr *MockPluginContextMockRecorder) WithMiddleware(arg0 ...interface{}) *gomock.Call

WithMiddleware indicates an expected call of WithMiddleware

func (*MockPluginContextMockRecorder) WithSendHook

func (mr *MockPluginContextMockRecorder) WithSendHook(arg0 interface{}, arg1 ...interface{}) *gomock.Call

WithSendHook indicates an expected call of WithSendHook

type MockPluginMockRecorder

type MockPluginMockRecorder struct {
	// contains filtered or unexported fields
}

MockPluginMockRecorder is the mock recorder for MockPlugin

func (*MockPluginMockRecorder) Install

func (mr *MockPluginMockRecorder) Install(arg0 interface{}) *gomock.Call

Install indicates an expected call of Install

type MockTransport

type MockTransport struct {
	// contains filtered or unexported fields
}

MockTransport is a mock of Transport interface

func NewMockTransport

func NewMockTransport(ctrl *gomock.Controller) *MockTransport

NewMockTransport creates a new mock instance

func (*MockTransport) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTransport) Send

func (m *MockTransport) Send(arg0 context.Context, arg1 letter.Letter) error

Send mocks base method

type MockTransportMockRecorder

type MockTransportMockRecorder struct {
	// contains filtered or unexported fields
}

MockTransportMockRecorder is the mock recorder for MockTransport

func (*MockTransportMockRecorder) Send

func (mr *MockTransportMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call

Send indicates an expected call of Send

Jump to

Keyboard shortcuts

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