mocks

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEncoder

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

MockEncoder is a mock of Encoder interface

func NewMockEncoder

func NewMockEncoder(ctrl *gomock.Controller) *MockEncoder

NewMockEncoder creates a new mock instance

func (*MockEncoder) EXPECT

func (m *MockEncoder) EXPECT() *MockEncoderMockRecorder

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

func (*MockEncoder) Encode

func (m *MockEncoder) Encode(message *message.Message) ([]byte, error)

Encode mocks base method

func (*MockEncoder) IsCompressionEnabled

func (m *MockEncoder) IsCompressionEnabled() bool

IsCompressionEnabled mocks base method

type MockEncoderMockRecorder

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

MockEncoderMockRecorder is the mock recorder for MockEncoder

func (*MockEncoderMockRecorder) Encode

func (mr *MockEncoderMockRecorder) Encode(message interface{}) *gomock.Call

Encode indicates an expected call of Encode

func (*MockEncoderMockRecorder) IsCompressionEnabled

func (mr *MockEncoderMockRecorder) IsCompressionEnabled() *gomock.Call

IsCompressionEnabled indicates an expected call of IsCompressionEnabled

Jump to

Keyboard shortcuts

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