mock_ctxerror

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_ctxerror is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCtxError

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

MockCtxError is a mock of CtxError interface

func NewMockCtxError

func NewMockCtxError(ctrl *gomock.Controller) *MockCtxError

NewMockCtxError creates a new mock instance

func (*MockCtxError) Contexts

func (m *MockCtxError) Contexts() map[string]interface{}

Contexts mocks base method

func (*MockCtxError) EXPECT

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

func (*MockCtxError) Error

func (m *MockCtxError) Error() string

Error mocks base method

func (*MockCtxError) Message

func (m *MockCtxError) Message() string

Message mocks base method

func (*MockCtxError) WithCause

func (m *MockCtxError) WithCause(c error) ctxerror.CtxError

WithCause mocks base method

type MockCtxErrorMockRecorder

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

MockCtxErrorMockRecorder is the mock recorder for MockCtxError

func (*MockCtxErrorMockRecorder) Contexts

func (mr *MockCtxErrorMockRecorder) Contexts() *gomock.Call

Contexts indicates an expected call of Contexts

func (*MockCtxErrorMockRecorder) Error

func (mr *MockCtxErrorMockRecorder) Error() *gomock.Call

Error indicates an expected call of Error

func (*MockCtxErrorMockRecorder) Message

func (mr *MockCtxErrorMockRecorder) Message() *gomock.Call

Message indicates an expected call of Message

func (*MockCtxErrorMockRecorder) WithCause

func (mr *MockCtxErrorMockRecorder) WithCause(c interface{}) *gomock.Call

WithCause indicates an expected call of WithCause

type MockLog15Logger

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

MockLog15Logger is a mock of Log15Logger interface

func NewMockLog15Logger

func NewMockLog15Logger(ctrl *gomock.Controller) *MockLog15Logger

NewMockLog15Logger creates a new mock instance

func (*MockLog15Logger) EXPECT

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

func (*MockLog15Logger) Log15

func (m *MockLog15Logger) Log15(f ctxerror.Log15Func)

Log15 mocks base method

type MockLog15LoggerMockRecorder

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

MockLog15LoggerMockRecorder is the mock recorder for MockLog15Logger

func (*MockLog15LoggerMockRecorder) Log15

func (mr *MockLog15LoggerMockRecorder) Log15(f interface{}) *gomock.Call

Log15 indicates an expected call of Log15

Jump to

Keyboard shortcuts

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