mocks

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BodyReader

type BodyReader struct {
	mock.Mock
}

BodyReader is an autogenerated mock type for the BodyReader type

func NewBodyReader added in v0.0.4

func NewBodyReader(t mockConstructorTestingTNewBodyReader) *BodyReader

NewBodyReader creates a new instance of BodyReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*BodyReader) Close

func (_m *BodyReader) Close() error

Close provides a mock function with given fields:

func (*BodyReader) Read

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

Read provides a mock function with given fields: p

Jump to

Keyboard shortcuts

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