Documentation ¶
Overview ¶
Package encodingmock is a generated GoMock package.
Index ¶
- type MockEncoding
- func (m *MockEncoding) ContentType() encoding.ContentType
- func (m *MockEncoding) DecodeFrom(arg0 io.Reader) (int, message.Message, error)
- func (m *MockEncoding) EXPECT() *MockEncodingMockRecorder
- func (m *MockEncoding) EncodeTo(arg0 io.Writer, arg1 message.Message) (int, error)
- func (m *MockEncoding) Name() encoding.Name
- type MockEncodingMockRecorder
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 ¶
DecodeFrom mocks base method.
func (*MockEncoding) EXPECT ¶
func (m *MockEncoding) EXPECT() *MockEncodingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
Click to show internal directories.
Click to hide internal directories.