encodingmock

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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