mocks

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Payload

type Payload struct {
	mock.Mock
}

Payload is an autogenerated mock type for the Payload type

func (*Payload) Buffer

func (_m *Payload) Buffer() (*bytes.Buffer, error)

Buffer provides a mock function with given fields:

func (*Payload) ContentType

func (_m *Payload) ContentType() string

ContentType provides a mock function with given fields:

func (*Payload) Values

func (_m *Payload) Values() map[string]string

Values provides a mock function with given fields:

type Responder

type Responder struct {
	mock.Mock
}

Responder is an autogenerated mock type for the Responder type

func (*Responder) CheckError

func (_m *Responder) CheckError(response *http.Response, buf []byte) error

CheckError provides a mock function with given fields: response, buf

func (*Responder) Meta

func (_m *Responder) Meta() httputil.Meta

Meta provides a mock function with given fields:

func (*Responder) Unmarshal

func (_m *Responder) Unmarshal(buf []byte) error

Unmarshal provides a mock function with given fields: buf

Jump to

Keyboard shortcuts

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