Documentation ¶
Overview ¶
Package jsonx is a generated GoMock package.
Index ¶
- type MockStandardClient
- func (m *MockStandardClient) Decode(reader io.Reader, v interface{}) error
- func (m *MockStandardClient) EXPECT() *MockStandardClientMockRecorder
- func (m *MockStandardClient) Encode(writer io.Writer, v interface{}) error
- func (m *MockStandardClient) Marshal(v interface{}) ([]byte, error)
- func (m *MockStandardClient) Unmarshal(data []byte, v interface{}) error
- type MockStandardClientMockRecorder
- func (mr *MockStandardClientMockRecorder) Decode(reader, v interface{}) *gomock.Call
- func (mr *MockStandardClientMockRecorder) Encode(writer, v interface{}) *gomock.Call
- func (mr *MockStandardClientMockRecorder) Marshal(v interface{}) *gomock.Call
- func (mr *MockStandardClientMockRecorder) Unmarshal(data, v interface{}) *gomock.Call
- type StandardClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStandardClient ¶ added in v1.0.0
type MockStandardClient struct {
// contains filtered or unexported fields
}
MockStandardClient is a mock of StandardClient interface.
func NewMockStandardClient ¶ added in v1.0.0
func NewMockStandardClient(ctrl *gomock.Controller) *MockStandardClient
NewMockStandardClient creates a new mock instance.
func (*MockStandardClient) Decode ¶ added in v1.0.0
func (m *MockStandardClient) Decode(reader io.Reader, v interface{}) error
Decode mocks base method.
func (*MockStandardClient) EXPECT ¶ added in v1.0.0
func (m *MockStandardClient) EXPECT() *MockStandardClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStandardClient) Encode ¶ added in v1.0.0
func (m *MockStandardClient) Encode(writer io.Writer, v interface{}) error
Encode mocks base method.
func (*MockStandardClient) Marshal ¶ added in v1.0.0
func (m *MockStandardClient) Marshal(v interface{}) ([]byte, error)
Marshal mocks base method.
func (*MockStandardClient) Unmarshal ¶ added in v1.0.0
func (m *MockStandardClient) Unmarshal(data []byte, v interface{}) error
Unmarshal mocks base method.
type MockStandardClientMockRecorder ¶ added in v1.0.0
type MockStandardClientMockRecorder struct {
// contains filtered or unexported fields
}
MockStandardClientMockRecorder is the mock recorder for MockStandardClient.
func (*MockStandardClientMockRecorder) Decode ¶ added in v1.0.0
func (mr *MockStandardClientMockRecorder) Decode(reader, v interface{}) *gomock.Call
Decode indicates an expected call of Decode.
func (*MockStandardClientMockRecorder) Encode ¶ added in v1.0.0
func (mr *MockStandardClientMockRecorder) Encode(writer, v interface{}) *gomock.Call
Encode indicates an expected call of Encode.
func (*MockStandardClientMockRecorder) Marshal ¶ added in v1.0.0
func (mr *MockStandardClientMockRecorder) Marshal(v interface{}) *gomock.Call
Marshal indicates an expected call of Marshal.
func (*MockStandardClientMockRecorder) Unmarshal ¶ added in v1.0.0
func (mr *MockStandardClientMockRecorder) Unmarshal(data, v interface{}) *gomock.Call
Unmarshal indicates an expected call of Unmarshal.
Click to show internal directories.
Click to hide internal directories.