negotiatormock

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentTypeNegotiator

type ContentTypeNegotiator struct {
	mock.Mock
}

ContentTypeNegotiator is an autogenerated mock type for the ContentTypeNegotiator type

func (*ContentTypeNegotiator) NegotiateContentType

func (_m *ContentTypeNegotiator) NegotiateContentType(request *http.Request, response *openapi3.Response) string

NegotiateContentType provides a mock function with given fields: request, response

type StatusCodeNegotiator

type StatusCodeNegotiator struct {
	mock.Mock
}

StatusCodeNegotiator is an autogenerated mock type for the StatusCodeNegotiator type

func (*StatusCodeNegotiator) NegotiateStatusCode

func (_m *StatusCodeNegotiator) NegotiateStatusCode(request *http.Request, responses openapi3.Responses) (string, int, error)

NegotiateStatusCode provides a mock function with given fields: request, responses

Jump to

Keyboard shortcuts

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