encodingmock

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package encodingmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEncoding

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

MockEncoding is a mock of Encoding interface.

func NewMockEncoding

func NewMockEncoding(ctrl *gomock.Controller) *MockEncoding

NewMockEncoding creates a new mock instance.

func (*MockEncoding) ContentType

func (m *MockEncoding) ContentType() encoding.ContentType

ContentType mocks base method.

func (*MockEncoding) DecodeFrom

func (m *MockEncoding) DecodeFrom(arg0 io.Reader) (int, message.Message, error)

DecodeFrom mocks base method.

func (*MockEncoding) EXPECT

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

func (*MockEncoding) EncodeTo

func (m *MockEncoding) EncodeTo(arg0 io.Writer, arg1 message.Message) (int, error)

EncodeTo mocks base method.

func (*MockEncoding) Name

func (m *MockEncoding) Name() encoding.Name

Name mocks base method.

type MockEncodingMockRecorder

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

MockEncodingMockRecorder is the mock recorder for MockEncoding.

func (*MockEncodingMockRecorder) ContentType

func (mr *MockEncodingMockRecorder) ContentType() *gomock.Call

ContentType indicates an expected call of ContentType.

func (*MockEncodingMockRecorder) DecodeFrom

func (mr *MockEncodingMockRecorder) DecodeFrom(arg0 interface{}) *gomock.Call

DecodeFrom indicates an expected call of DecodeFrom.

func (*MockEncodingMockRecorder) EncodeTo

func (mr *MockEncodingMockRecorder) EncodeTo(arg0, arg1 interface{}) *gomock.Call

EncodeTo indicates an expected call of EncodeTo.

func (*MockEncodingMockRecorder) Name

func (mr *MockEncodingMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

Jump to

Keyboard shortcuts

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