mocks

package
v0.0.0-...-e66715b Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientCodec

type ClientCodec struct {
	mock.Mock
}

func (*ClientCodec) Close

func (_m *ClientCodec) Close() error

func (*ClientCodec) ReadResponseBody

func (_m *ClientCodec) ReadResponseBody(_a0 interface{}) error

func (*ClientCodec) ReadResponseHeader

func (_m *ClientCodec) ReadResponseHeader(_a0 *rpc.Response) error

func (*ClientCodec) WriteRequest

func (_m *ClientCodec) WriteRequest(_a0 *rpc.Request, _a1 interface{}) error

type ReadWriteCloser

type ReadWriteCloser struct {
	mock.Mock
}

func (*ReadWriteCloser) Close

func (_m *ReadWriteCloser) Close() error

func (*ReadWriteCloser) Read

func (_m *ReadWriteCloser) Read(p []byte) (int, error)

func (*ReadWriteCloser) Write

func (_m *ReadWriteCloser) Write(p []byte) (int, error)

type ServerCodec

type ServerCodec struct {
	mock.Mock
}

func (*ServerCodec) Close

func (_m *ServerCodec) Close() error

func (*ServerCodec) ReadRequestBody

func (_m *ServerCodec) ReadRequestBody(_a0 interface{}) error

func (*ServerCodec) ReadRequestHeader

func (_m *ServerCodec) ReadRequestHeader(_a0 *rpc.Request) error

func (*ServerCodec) WriteResponse

func (_m *ServerCodec) WriteResponse(_a0 *rpc.Response, _a1 interface{}) error

Jump to

Keyboard shortcuts

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