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
Click to show internal directories.
Click to hide internal directories.