jsonx

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package jsonx is a generated GoMock package.

Index

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

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.

type StandardClient added in v1.0.0

type StandardClient interface {
	Marshal(v interface{}) ([]byte, error)
	Unmarshal(data []byte, v interface{}) error
	Encode(writer io.Writer, v interface{}) error
	Decode(reader io.Reader, v interface{}) error
}

StandardClient encapsulates basic json functionality

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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