http

package
v1.16.4 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssertableJSON

type AssertableJSON struct {
	mock.Mock
}

AssertableJSON is an autogenerated mock type for the AssertableJSON type

func NewAssertableJSON

func NewAssertableJSON(t interface {
	mock.TestingT
	Cleanup(func())
}) *AssertableJSON

NewAssertableJSON creates a new instance of AssertableJSON. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AssertableJSON) Count

func (_m *AssertableJSON) Count(key string, value int) http.AssertableJSON

Count provides a mock function with given fields: key, value

func (*AssertableJSON) EXPECT

func (*AssertableJSON) Each

func (_m *AssertableJSON) Each(key string, callback func(http.AssertableJSON)) http.AssertableJSON

Each provides a mock function with given fields: key, callback

func (*AssertableJSON) First

func (_m *AssertableJSON) First(key string, callback func(http.AssertableJSON)) http.AssertableJSON

First provides a mock function with given fields: key, callback

func (*AssertableJSON) Has

Has provides a mock function with given fields: key

func (*AssertableJSON) HasAll

func (_m *AssertableJSON) HasAll(keys []string) http.AssertableJSON

HasAll provides a mock function with given fields: keys

func (*AssertableJSON) HasAny

func (_m *AssertableJSON) HasAny(keys []string) http.AssertableJSON

HasAny provides a mock function with given fields: keys

func (*AssertableJSON) HasWithScope

func (_m *AssertableJSON) HasWithScope(key string, length int, callback func(http.AssertableJSON)) http.AssertableJSON

HasWithScope provides a mock function with given fields: key, length, callback

func (*AssertableJSON) Json

func (_m *AssertableJSON) Json() map[string]interface{}

Json provides a mock function with no fields

func (*AssertableJSON) Missing

func (_m *AssertableJSON) Missing(key string) http.AssertableJSON

Missing provides a mock function with given fields: key

func (*AssertableJSON) MissingAll

func (_m *AssertableJSON) MissingAll(keys []string) http.AssertableJSON

MissingAll provides a mock function with given fields: keys

func (*AssertableJSON) Where

func (_m *AssertableJSON) Where(key string, value interface{}) http.AssertableJSON

Where provides a mock function with given fields: key, value

func (*AssertableJSON) WhereNot

func (_m *AssertableJSON) WhereNot(key string, value interface{}) http.AssertableJSON

WhereNot provides a mock function with given fields: key, value

type AssertableJSON_Count_Call

type AssertableJSON_Count_Call struct {
	*mock.Call
}

AssertableJSON_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'

func (*AssertableJSON_Count_Call) Return

func (*AssertableJSON_Count_Call) Run

func (_c *AssertableJSON_Count_Call) Run(run func(key string, value int)) *AssertableJSON_Count_Call

func (*AssertableJSON_Count_Call) RunAndReturn

type AssertableJSON_Each_Call

type AssertableJSON_Each_Call struct {
	*mock.Call
}

AssertableJSON_Each_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Each'

func (*AssertableJSON_Each_Call) Return

func (*AssertableJSON_Each_Call) Run

func (_c *AssertableJSON_Each_Call) Run(run func(key string, callback func(http.AssertableJSON))) *AssertableJSON_Each_Call

func (*AssertableJSON_Each_Call) RunAndReturn

type AssertableJSON_Expecter

type AssertableJSON_Expecter struct {
	// contains filtered or unexported fields
}

func (*AssertableJSON_Expecter) Count

func (_e *AssertableJSON_Expecter) Count(key interface{}, value interface{}) *AssertableJSON_Count_Call

Count is a helper method to define mock.On call

  • key string
  • value int

func (*AssertableJSON_Expecter) Each

func (_e *AssertableJSON_Expecter) Each(key interface{}, callback interface{}) *AssertableJSON_Each_Call

Each is a helper method to define mock.On call

  • key string
  • callback func(http.AssertableJSON)

func (*AssertableJSON_Expecter) First

func (_e *AssertableJSON_Expecter) First(key interface{}, callback interface{}) *AssertableJSON_First_Call

First is a helper method to define mock.On call

  • key string
  • callback func(http.AssertableJSON)

func (*AssertableJSON_Expecter) Has

func (_e *AssertableJSON_Expecter) Has(key interface{}) *AssertableJSON_Has_Call

Has is a helper method to define mock.On call

  • key string

func (*AssertableJSON_Expecter) HasAll

func (_e *AssertableJSON_Expecter) HasAll(keys interface{}) *AssertableJSON_HasAll_Call

HasAll is a helper method to define mock.On call

  • keys []string

func (*AssertableJSON_Expecter) HasAny

func (_e *AssertableJSON_Expecter) HasAny(keys interface{}) *AssertableJSON_HasAny_Call

HasAny is a helper method to define mock.On call

  • keys []string

func (*AssertableJSON_Expecter) HasWithScope

func (_e *AssertableJSON_Expecter) HasWithScope(key interface{}, length interface{}, callback interface{}) *AssertableJSON_HasWithScope_Call

HasWithScope is a helper method to define mock.On call

  • key string
  • length int
  • callback func(http.AssertableJSON)

func (*AssertableJSON_Expecter) Json

Json is a helper method to define mock.On call

func (*AssertableJSON_Expecter) Missing

func (_e *AssertableJSON_Expecter) Missing(key interface{}) *AssertableJSON_Missing_Call

Missing is a helper method to define mock.On call

  • key string

func (*AssertableJSON_Expecter) MissingAll

func (_e *AssertableJSON_Expecter) MissingAll(keys interface{}) *AssertableJSON_MissingAll_Call

MissingAll is a helper method to define mock.On call

  • keys []string

func (*AssertableJSON_Expecter) Where

func (_e *AssertableJSON_Expecter) Where(key interface{}, value interface{}) *AssertableJSON_Where_Call

Where is a helper method to define mock.On call

  • key string
  • value interface{}

func (*AssertableJSON_Expecter) WhereNot

func (_e *AssertableJSON_Expecter) WhereNot(key interface{}, value interface{}) *AssertableJSON_WhereNot_Call

WhereNot is a helper method to define mock.On call

  • key string
  • value interface{}

type AssertableJSON_First_Call

type AssertableJSON_First_Call struct {
	*mock.Call
}

AssertableJSON_First_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'First'

func (*AssertableJSON_First_Call) Return

func (*AssertableJSON_First_Call) Run

func (_c *AssertableJSON_First_Call) Run(run func(key string, callback func(http.AssertableJSON))) *AssertableJSON_First_Call

func (*AssertableJSON_First_Call) RunAndReturn

type AssertableJSON_HasAll_Call

type AssertableJSON_HasAll_Call struct {
	*mock.Call
}

AssertableJSON_HasAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasAll'

func (*AssertableJSON_HasAll_Call) Return

func (*AssertableJSON_HasAll_Call) Run

func (*AssertableJSON_HasAll_Call) RunAndReturn

type AssertableJSON_HasAny_Call

type AssertableJSON_HasAny_Call struct {
	*mock.Call
}

AssertableJSON_HasAny_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasAny'

func (*AssertableJSON_HasAny_Call) Return

func (*AssertableJSON_HasAny_Call) Run

func (*AssertableJSON_HasAny_Call) RunAndReturn

type AssertableJSON_HasWithScope_Call

type AssertableJSON_HasWithScope_Call struct {
	*mock.Call
}

AssertableJSON_HasWithScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasWithScope'

func (*AssertableJSON_HasWithScope_Call) Return

func (*AssertableJSON_HasWithScope_Call) Run

func (_c *AssertableJSON_HasWithScope_Call) Run(run func(key string, length int, callback func(http.AssertableJSON))) *AssertableJSON_HasWithScope_Call

func (*AssertableJSON_HasWithScope_Call) RunAndReturn

type AssertableJSON_Has_Call

type AssertableJSON_Has_Call struct {
	*mock.Call
}

AssertableJSON_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'

func (*AssertableJSON_Has_Call) Return

func (*AssertableJSON_Has_Call) Run

func (_c *AssertableJSON_Has_Call) Run(run func(key string)) *AssertableJSON_Has_Call

func (*AssertableJSON_Has_Call) RunAndReturn

type AssertableJSON_Json_Call

type AssertableJSON_Json_Call struct {
	*mock.Call
}

AssertableJSON_Json_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Json'

func (*AssertableJSON_Json_Call) Return

func (_c *AssertableJSON_Json_Call) Return(_a0 map[string]interface{}) *AssertableJSON_Json_Call

func (*AssertableJSON_Json_Call) Run

func (*AssertableJSON_Json_Call) RunAndReturn

func (_c *AssertableJSON_Json_Call) RunAndReturn(run func() map[string]interface{}) *AssertableJSON_Json_Call

type AssertableJSON_MissingAll_Call

type AssertableJSON_MissingAll_Call struct {
	*mock.Call
}

AssertableJSON_MissingAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MissingAll'

func (*AssertableJSON_MissingAll_Call) Return

func (*AssertableJSON_MissingAll_Call) Run

func (*AssertableJSON_MissingAll_Call) RunAndReturn

type AssertableJSON_Missing_Call

type AssertableJSON_Missing_Call struct {
	*mock.Call
}

AssertableJSON_Missing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Missing'

func (*AssertableJSON_Missing_Call) Return

func (*AssertableJSON_Missing_Call) Run

func (*AssertableJSON_Missing_Call) RunAndReturn

type AssertableJSON_WhereNot_Call

type AssertableJSON_WhereNot_Call struct {
	*mock.Call
}

AssertableJSON_WhereNot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WhereNot'

func (*AssertableJSON_WhereNot_Call) Return

func (*AssertableJSON_WhereNot_Call) Run

func (_c *AssertableJSON_WhereNot_Call) Run(run func(key string, value interface{})) *AssertableJSON_WhereNot_Call

func (*AssertableJSON_WhereNot_Call) RunAndReturn

func (_c *AssertableJSON_WhereNot_Call) RunAndReturn(run func(string, interface{}) http.AssertableJSON) *AssertableJSON_WhereNot_Call

type AssertableJSON_Where_Call

type AssertableJSON_Where_Call struct {
	*mock.Call
}

AssertableJSON_Where_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Where'

func (*AssertableJSON_Where_Call) Return

func (*AssertableJSON_Where_Call) Run

func (_c *AssertableJSON_Where_Call) Run(run func(key string, value interface{})) *AssertableJSON_Where_Call

func (*AssertableJSON_Where_Call) RunAndReturn

func (_c *AssertableJSON_Where_Call) RunAndReturn(run func(string, interface{}) http.AssertableJSON) *AssertableJSON_Where_Call

type Request

type Request struct {
	mock.Mock
}

Request is an autogenerated mock type for the Request type

func NewRequest

func NewRequest(t interface {
	mock.TestingT
	Cleanup(func())
}) *Request

NewRequest creates a new instance of Request. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Request) Bind

func (_m *Request) Bind(value interface{}) http.Request

Bind provides a mock function with given fields: value

func (*Request) Delete

func (_m *Request) Delete(uri string, body io.Reader) (http.Response, error)

Delete provides a mock function with given fields: uri, body

func (*Request) EXPECT

func (_m *Request) EXPECT() *Request_Expecter

func (*Request) FlushHeaders

func (_m *Request) FlushHeaders() http.Request

FlushHeaders provides a mock function with no fields

func (*Request) Get

func (_m *Request) Get(uri string) (http.Response, error)

Get provides a mock function with given fields: uri

func (*Request) Head

func (_m *Request) Head(uri string) (http.Response, error)

Head provides a mock function with given fields: uri

func (*Request) Options

func (_m *Request) Options(uri string) (http.Response, error)

Options provides a mock function with given fields: uri

func (*Request) Patch

func (_m *Request) Patch(uri string, body io.Reader) (http.Response, error)

Patch provides a mock function with given fields: uri, body

func (*Request) Post

func (_m *Request) Post(uri string, body io.Reader) (http.Response, error)

Post provides a mock function with given fields: uri, body

func (*Request) Put

func (_m *Request) Put(uri string, body io.Reader) (http.Response, error)

Put provides a mock function with given fields: uri, body

func (*Request) WithBasicAuth

func (_m *Request) WithBasicAuth(username string, password string) http.Request

WithBasicAuth provides a mock function with given fields: username, password

func (*Request) WithContext

func (_m *Request) WithContext(ctx context.Context) http.Request

WithContext provides a mock function with given fields: ctx

func (*Request) WithCookie

func (_m *Request) WithCookie(cookie *nethttp.Cookie) http.Request

WithCookie provides a mock function with given fields: cookie

func (*Request) WithCookies

func (_m *Request) WithCookies(cookies []*nethttp.Cookie) http.Request

WithCookies provides a mock function with given fields: cookies

func (*Request) WithHeader

func (_m *Request) WithHeader(key string, value string) http.Request

WithHeader provides a mock function with given fields: key, value

func (*Request) WithHeaders

func (_m *Request) WithHeaders(headers map[string]string) http.Request

WithHeaders provides a mock function with given fields: headers

func (*Request) WithSession

func (_m *Request) WithSession(attributes map[string]interface{}) http.Request

WithSession provides a mock function with given fields: attributes

func (*Request) WithToken

func (_m *Request) WithToken(token string, ttype ...string) http.Request

WithToken provides a mock function with given fields: token, ttype

func (*Request) WithoutHeader

func (_m *Request) WithoutHeader(key string) http.Request

WithoutHeader provides a mock function with given fields: key

func (*Request) WithoutToken

func (_m *Request) WithoutToken() http.Request

WithoutToken provides a mock function with no fields

type Request_Bind_Call

type Request_Bind_Call struct {
	*mock.Call
}

Request_Bind_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bind'

func (*Request_Bind_Call) Return

func (*Request_Bind_Call) Run

func (_c *Request_Bind_Call) Run(run func(value interface{})) *Request_Bind_Call

func (*Request_Bind_Call) RunAndReturn

func (_c *Request_Bind_Call) RunAndReturn(run func(interface{}) http.Request) *Request_Bind_Call

type Request_Delete_Call

type Request_Delete_Call struct {
	*mock.Call
}

Request_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*Request_Delete_Call) Return

func (*Request_Delete_Call) Run

func (_c *Request_Delete_Call) Run(run func(uri string, body io.Reader)) *Request_Delete_Call

func (*Request_Delete_Call) RunAndReturn

func (_c *Request_Delete_Call) RunAndReturn(run func(string, io.Reader) (http.Response, error)) *Request_Delete_Call

type Request_Expecter

type Request_Expecter struct {
	// contains filtered or unexported fields
}

func (*Request_Expecter) Bind

func (_e *Request_Expecter) Bind(value interface{}) *Request_Bind_Call

Bind is a helper method to define mock.On call

  • value interface{}

func (*Request_Expecter) Delete

func (_e *Request_Expecter) Delete(uri interface{}, body interface{}) *Request_Delete_Call

Delete is a helper method to define mock.On call

  • uri string
  • body io.Reader

func (*Request_Expecter) FlushHeaders

func (_e *Request_Expecter) FlushHeaders() *Request_FlushHeaders_Call

FlushHeaders is a helper method to define mock.On call

func (*Request_Expecter) Get

func (_e *Request_Expecter) Get(uri interface{}) *Request_Get_Call

Get is a helper method to define mock.On call

  • uri string

func (*Request_Expecter) Head

func (_e *Request_Expecter) Head(uri interface{}) *Request_Head_Call

Head is a helper method to define mock.On call

  • uri string

func (*Request_Expecter) Options

func (_e *Request_Expecter) Options(uri interface{}) *Request_Options_Call

Options is a helper method to define mock.On call

  • uri string

func (*Request_Expecter) Patch

func (_e *Request_Expecter) Patch(uri interface{}, body interface{}) *Request_Patch_Call

Patch is a helper method to define mock.On call

  • uri string
  • body io.Reader

func (*Request_Expecter) Post

func (_e *Request_Expecter) Post(uri interface{}, body interface{}) *Request_Post_Call

Post is a helper method to define mock.On call

  • uri string
  • body io.Reader

func (*Request_Expecter) Put

func (_e *Request_Expecter) Put(uri interface{}, body interface{}) *Request_Put_Call

Put is a helper method to define mock.On call

  • uri string
  • body io.Reader

func (*Request_Expecter) WithBasicAuth

func (_e *Request_Expecter) WithBasicAuth(username interface{}, password interface{}) *Request_WithBasicAuth_Call

WithBasicAuth is a helper method to define mock.On call

  • username string
  • password string

func (*Request_Expecter) WithContext

func (_e *Request_Expecter) WithContext(ctx interface{}) *Request_WithContext_Call

WithContext is a helper method to define mock.On call

  • ctx context.Context

func (*Request_Expecter) WithCookie

func (_e *Request_Expecter) WithCookie(cookie interface{}) *Request_WithCookie_Call

WithCookie is a helper method to define mock.On call

  • cookie *nethttp.Cookie

func (*Request_Expecter) WithCookies

func (_e *Request_Expecter) WithCookies(cookies interface{}) *Request_WithCookies_Call

WithCookies is a helper method to define mock.On call

  • cookies []*nethttp.Cookie

func (*Request_Expecter) WithHeader

func (_e *Request_Expecter) WithHeader(key interface{}, value interface{}) *Request_WithHeader_Call

WithHeader is a helper method to define mock.On call

  • key string
  • value string

func (*Request_Expecter) WithHeaders

func (_e *Request_Expecter) WithHeaders(headers interface{}) *Request_WithHeaders_Call

WithHeaders is a helper method to define mock.On call

  • headers map[string]string

func (*Request_Expecter) WithSession

func (_e *Request_Expecter) WithSession(attributes interface{}) *Request_WithSession_Call

WithSession is a helper method to define mock.On call

  • attributes map[string]interface{}

func (*Request_Expecter) WithToken

func (_e *Request_Expecter) WithToken(token interface{}, ttype ...interface{}) *Request_WithToken_Call

WithToken is a helper method to define mock.On call

  • token string
  • ttype ...string

func (*Request_Expecter) WithoutHeader

func (_e *Request_Expecter) WithoutHeader(key interface{}) *Request_WithoutHeader_Call

WithoutHeader is a helper method to define mock.On call

  • key string

func (*Request_Expecter) WithoutToken

func (_e *Request_Expecter) WithoutToken() *Request_WithoutToken_Call

WithoutToken is a helper method to define mock.On call

type Request_FlushHeaders_Call

type Request_FlushHeaders_Call struct {
	*mock.Call
}

Request_FlushHeaders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlushHeaders'

func (*Request_FlushHeaders_Call) Return

func (*Request_FlushHeaders_Call) Run

func (*Request_FlushHeaders_Call) RunAndReturn

func (_c *Request_FlushHeaders_Call) RunAndReturn(run func() http.Request) *Request_FlushHeaders_Call

type Request_Get_Call

type Request_Get_Call struct {
	*mock.Call
}

Request_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*Request_Get_Call) Return

func (_c *Request_Get_Call) Return(_a0 http.Response, _a1 error) *Request_Get_Call

func (*Request_Get_Call) Run

func (_c *Request_Get_Call) Run(run func(uri string)) *Request_Get_Call

func (*Request_Get_Call) RunAndReturn

func (_c *Request_Get_Call) RunAndReturn(run func(string) (http.Response, error)) *Request_Get_Call

type Request_Head_Call

type Request_Head_Call struct {
	*mock.Call
}

Request_Head_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Head'

func (*Request_Head_Call) Return

func (_c *Request_Head_Call) Return(_a0 http.Response, _a1 error) *Request_Head_Call

func (*Request_Head_Call) Run

func (_c *Request_Head_Call) Run(run func(uri string)) *Request_Head_Call

func (*Request_Head_Call) RunAndReturn

func (_c *Request_Head_Call) RunAndReturn(run func(string) (http.Response, error)) *Request_Head_Call

type Request_Options_Call

type Request_Options_Call struct {
	*mock.Call
}

Request_Options_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Options'

func (*Request_Options_Call) Return

func (*Request_Options_Call) Run

func (_c *Request_Options_Call) Run(run func(uri string)) *Request_Options_Call

func (*Request_Options_Call) RunAndReturn

func (_c *Request_Options_Call) RunAndReturn(run func(string) (http.Response, error)) *Request_Options_Call

type Request_Patch_Call

type Request_Patch_Call struct {
	*mock.Call
}

Request_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'

func (*Request_Patch_Call) Return

func (*Request_Patch_Call) Run

func (_c *Request_Patch_Call) Run(run func(uri string, body io.Reader)) *Request_Patch_Call

func (*Request_Patch_Call) RunAndReturn

func (_c *Request_Patch_Call) RunAndReturn(run func(string, io.Reader) (http.Response, error)) *Request_Patch_Call

type Request_Post_Call

type Request_Post_Call struct {
	*mock.Call
}

Request_Post_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Post'

func (*Request_Post_Call) Return

func (_c *Request_Post_Call) Return(_a0 http.Response, _a1 error) *Request_Post_Call

func (*Request_Post_Call) Run

func (_c *Request_Post_Call) Run(run func(uri string, body io.Reader)) *Request_Post_Call

func (*Request_Post_Call) RunAndReturn

func (_c *Request_Post_Call) RunAndReturn(run func(string, io.Reader) (http.Response, error)) *Request_Post_Call

type Request_Put_Call

type Request_Put_Call struct {
	*mock.Call
}

Request_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'

func (*Request_Put_Call) Return

func (_c *Request_Put_Call) Return(_a0 http.Response, _a1 error) *Request_Put_Call

func (*Request_Put_Call) Run

func (_c *Request_Put_Call) Run(run func(uri string, body io.Reader)) *Request_Put_Call

func (*Request_Put_Call) RunAndReturn

func (_c *Request_Put_Call) RunAndReturn(run func(string, io.Reader) (http.Response, error)) *Request_Put_Call

type Request_WithBasicAuth_Call

type Request_WithBasicAuth_Call struct {
	*mock.Call
}

Request_WithBasicAuth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithBasicAuth'

func (*Request_WithBasicAuth_Call) Return

func (*Request_WithBasicAuth_Call) Run

func (_c *Request_WithBasicAuth_Call) Run(run func(username string, password string)) *Request_WithBasicAuth_Call

func (*Request_WithBasicAuth_Call) RunAndReturn

type Request_WithContext_Call

type Request_WithContext_Call struct {
	*mock.Call
}

Request_WithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithContext'

func (*Request_WithContext_Call) Return

func (*Request_WithContext_Call) Run

func (*Request_WithContext_Call) RunAndReturn

type Request_WithCookie_Call

type Request_WithCookie_Call struct {
	*mock.Call
}

Request_WithCookie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithCookie'

func (*Request_WithCookie_Call) Return

func (*Request_WithCookie_Call) Run

func (_c *Request_WithCookie_Call) Run(run func(cookie *nethttp.Cookie)) *Request_WithCookie_Call

func (*Request_WithCookie_Call) RunAndReturn

type Request_WithCookies_Call

type Request_WithCookies_Call struct {
	*mock.Call
}

Request_WithCookies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithCookies'

func (*Request_WithCookies_Call) Return

func (*Request_WithCookies_Call) Run

func (_c *Request_WithCookies_Call) Run(run func(cookies []*nethttp.Cookie)) *Request_WithCookies_Call

func (*Request_WithCookies_Call) RunAndReturn

type Request_WithHeader_Call

type Request_WithHeader_Call struct {
	*mock.Call
}

Request_WithHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithHeader'

func (*Request_WithHeader_Call) Return

func (*Request_WithHeader_Call) Run

func (_c *Request_WithHeader_Call) Run(run func(key string, value string)) *Request_WithHeader_Call

func (*Request_WithHeader_Call) RunAndReturn

type Request_WithHeaders_Call

type Request_WithHeaders_Call struct {
	*mock.Call
}

Request_WithHeaders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithHeaders'

func (*Request_WithHeaders_Call) Return

func (*Request_WithHeaders_Call) Run

func (_c *Request_WithHeaders_Call) Run(run func(headers map[string]string)) *Request_WithHeaders_Call

func (*Request_WithHeaders_Call) RunAndReturn

type Request_WithSession_Call

type Request_WithSession_Call struct {
	*mock.Call
}

Request_WithSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithSession'

func (*Request_WithSession_Call) Return

func (*Request_WithSession_Call) Run

func (_c *Request_WithSession_Call) Run(run func(attributes map[string]interface{})) *Request_WithSession_Call

func (*Request_WithSession_Call) RunAndReturn

func (_c *Request_WithSession_Call) RunAndReturn(run func(map[string]interface{}) http.Request) *Request_WithSession_Call

type Request_WithToken_Call

type Request_WithToken_Call struct {
	*mock.Call
}

Request_WithToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithToken'

func (*Request_WithToken_Call) Return

func (*Request_WithToken_Call) Run

func (_c *Request_WithToken_Call) Run(run func(token string, ttype ...string)) *Request_WithToken_Call

func (*Request_WithToken_Call) RunAndReturn

func (_c *Request_WithToken_Call) RunAndReturn(run func(string, ...string) http.Request) *Request_WithToken_Call

type Request_WithoutHeader_Call

type Request_WithoutHeader_Call struct {
	*mock.Call
}

Request_WithoutHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithoutHeader'

func (*Request_WithoutHeader_Call) Return

func (*Request_WithoutHeader_Call) Run

func (*Request_WithoutHeader_Call) RunAndReturn

type Request_WithoutToken_Call

type Request_WithoutToken_Call struct {
	*mock.Call
}

Request_WithoutToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithoutToken'

func (*Request_WithoutToken_Call) Return

func (*Request_WithoutToken_Call) Run

func (*Request_WithoutToken_Call) RunAndReturn

func (_c *Request_WithoutToken_Call) RunAndReturn(run func() http.Request) *Request_WithoutToken_Call

type Response

type Response struct {
	mock.Mock
}

Response is an autogenerated mock type for the Response type

func NewResponse

func NewResponse(t interface {
	mock.TestingT
	Cleanup(func())
}) *Response

NewResponse creates a new instance of Response. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Response) AssertAccepted

func (_m *Response) AssertAccepted() http.Response

AssertAccepted provides a mock function with no fields

func (*Response) AssertBadRequest

func (_m *Response) AssertBadRequest() http.Response

AssertBadRequest provides a mock function with no fields

func (*Response) AssertConflict

func (_m *Response) AssertConflict() http.Response

AssertConflict provides a mock function with no fields

func (*Response) AssertCookie

func (_m *Response) AssertCookie(name string, value string) http.Response

AssertCookie provides a mock function with given fields: name, value

func (*Response) AssertCookieExpired

func (_m *Response) AssertCookieExpired(_a0 string) http.Response

AssertCookieExpired provides a mock function with given fields: _a0

func (*Response) AssertCookieMissing

func (_m *Response) AssertCookieMissing(_a0 string) http.Response

AssertCookieMissing provides a mock function with given fields: _a0

func (*Response) AssertCookieNotExpired

func (_m *Response) AssertCookieNotExpired(_a0 string) http.Response

AssertCookieNotExpired provides a mock function with given fields: _a0

func (*Response) AssertCreated

func (_m *Response) AssertCreated() http.Response

AssertCreated provides a mock function with no fields

func (*Response) AssertDontSee

func (_m *Response) AssertDontSee(_a0 []string, _a1 ...bool) http.Response

AssertDontSee provides a mock function with given fields: _a0, _a1

func (*Response) AssertExactJson

func (_m *Response) AssertExactJson(_a0 map[string]interface{}) http.Response

AssertExactJson provides a mock function with given fields: _a0

func (*Response) AssertFluentJson

func (_m *Response) AssertFluentJson(_a0 func(http.AssertableJSON)) http.Response

AssertFluentJson provides a mock function with given fields: _a0

func (*Response) AssertForbidden

func (_m *Response) AssertForbidden() http.Response

AssertForbidden provides a mock function with no fields

func (*Response) AssertFound

func (_m *Response) AssertFound() http.Response

AssertFound provides a mock function with no fields

func (*Response) AssertGone

func (_m *Response) AssertGone() http.Response

AssertGone provides a mock function with no fields

func (*Response) AssertHeader

func (_m *Response) AssertHeader(headerName string, value string) http.Response

AssertHeader provides a mock function with given fields: headerName, value

func (*Response) AssertHeaderMissing

func (_m *Response) AssertHeaderMissing(_a0 string) http.Response

AssertHeaderMissing provides a mock function with given fields: _a0

func (*Response) AssertInternalServerError

func (_m *Response) AssertInternalServerError() http.Response

AssertInternalServerError provides a mock function with no fields

func (*Response) AssertJson

func (_m *Response) AssertJson(_a0 map[string]interface{}) http.Response

AssertJson provides a mock function with given fields: _a0

func (*Response) AssertJsonMissing

func (_m *Response) AssertJsonMissing(_a0 map[string]interface{}) http.Response

AssertJsonMissing provides a mock function with given fields: _a0

func (*Response) AssertMethodNotAllowed

func (_m *Response) AssertMethodNotAllowed() http.Response

AssertMethodNotAllowed provides a mock function with no fields

func (*Response) AssertMovedPermanently

func (_m *Response) AssertMovedPermanently() http.Response

AssertMovedPermanently provides a mock function with no fields

func (*Response) AssertNoContent

func (_m *Response) AssertNoContent(status ...int) http.Response

AssertNoContent provides a mock function with given fields: status

func (*Response) AssertNotAcceptable

func (_m *Response) AssertNotAcceptable() http.Response

AssertNotAcceptable provides a mock function with no fields

func (*Response) AssertNotFound

func (_m *Response) AssertNotFound() http.Response

AssertNotFound provides a mock function with no fields

func (*Response) AssertNotModified

func (_m *Response) AssertNotModified() http.Response

AssertNotModified provides a mock function with no fields

func (*Response) AssertOk

func (_m *Response) AssertOk() http.Response

AssertOk provides a mock function with no fields

func (*Response) AssertPartialContent

func (_m *Response) AssertPartialContent() http.Response

AssertPartialContent provides a mock function with no fields

func (*Response) AssertPaymentRequired

func (_m *Response) AssertPaymentRequired() http.Response

AssertPaymentRequired provides a mock function with no fields

func (*Response) AssertRequestTimeout

func (_m *Response) AssertRequestTimeout() http.Response

AssertRequestTimeout provides a mock function with no fields

func (*Response) AssertSee

func (_m *Response) AssertSee(_a0 []string, _a1 ...bool) http.Response

AssertSee provides a mock function with given fields: _a0, _a1

func (*Response) AssertSeeInOrder

func (_m *Response) AssertSeeInOrder(_a0 []string, _a1 ...bool) http.Response

AssertSeeInOrder provides a mock function with given fields: _a0, _a1

func (*Response) AssertServerError

func (_m *Response) AssertServerError() http.Response

AssertServerError provides a mock function with no fields

func (*Response) AssertServiceUnavailable

func (_m *Response) AssertServiceUnavailable() http.Response

AssertServiceUnavailable provides a mock function with no fields

func (*Response) AssertStatus

func (_m *Response) AssertStatus(status int) http.Response

AssertStatus provides a mock function with given fields: status

func (*Response) AssertSuccessful

func (_m *Response) AssertSuccessful() http.Response

AssertSuccessful provides a mock function with no fields

func (*Response) AssertTemporaryRedirect

func (_m *Response) AssertTemporaryRedirect() http.Response

AssertTemporaryRedirect provides a mock function with no fields

func (*Response) AssertTooManyRequests

func (_m *Response) AssertTooManyRequests() http.Response

AssertTooManyRequests provides a mock function with no fields

func (*Response) AssertUnauthorized

func (_m *Response) AssertUnauthorized() http.Response

AssertUnauthorized provides a mock function with no fields

func (*Response) AssertUnprocessableEntity

func (_m *Response) AssertUnprocessableEntity() http.Response

AssertUnprocessableEntity provides a mock function with no fields

func (*Response) AssertUnsupportedMediaType

func (_m *Response) AssertUnsupportedMediaType() http.Response

AssertUnsupportedMediaType provides a mock function with no fields

func (*Response) Content

func (_m *Response) Content() (string, error)

Content provides a mock function with no fields

func (*Response) Cookie

func (_m *Response) Cookie(name string) *nethttp.Cookie

Cookie provides a mock function with given fields: name

func (*Response) Cookies

func (_m *Response) Cookies() []*nethttp.Cookie

Cookies provides a mock function with no fields

func (*Response) EXPECT

func (_m *Response) EXPECT() *Response_Expecter

func (*Response) Headers

func (_m *Response) Headers() nethttp.Header

Headers provides a mock function with no fields

func (*Response) IsServerError

func (_m *Response) IsServerError() bool

IsServerError provides a mock function with no fields

func (*Response) IsSuccessful

func (_m *Response) IsSuccessful() bool

IsSuccessful provides a mock function with no fields

func (*Response) Json

func (_m *Response) Json() (map[string]interface{}, error)

Json provides a mock function with no fields

func (*Response) Session

func (_m *Response) Session() (map[string]interface{}, error)

Session provides a mock function with no fields

type Response_AssertAccepted_Call

type Response_AssertAccepted_Call struct {
	*mock.Call
}

Response_AssertAccepted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertAccepted'

func (*Response_AssertAccepted_Call) Return

func (*Response_AssertAccepted_Call) Run

func (*Response_AssertAccepted_Call) RunAndReturn

type Response_AssertBadRequest_Call

type Response_AssertBadRequest_Call struct {
	*mock.Call
}

Response_AssertBadRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertBadRequest'

func (*Response_AssertBadRequest_Call) Return

func (*Response_AssertBadRequest_Call) Run

func (*Response_AssertBadRequest_Call) RunAndReturn

type Response_AssertConflict_Call

type Response_AssertConflict_Call struct {
	*mock.Call
}

Response_AssertConflict_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertConflict'

func (*Response_AssertConflict_Call) Return

func (*Response_AssertConflict_Call) Run

func (*Response_AssertConflict_Call) RunAndReturn

type Response_AssertCookieExpired_Call

type Response_AssertCookieExpired_Call struct {
	*mock.Call
}

Response_AssertCookieExpired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCookieExpired'

func (*Response_AssertCookieExpired_Call) Return

func (*Response_AssertCookieExpired_Call) Run

func (*Response_AssertCookieExpired_Call) RunAndReturn

type Response_AssertCookieMissing_Call

type Response_AssertCookieMissing_Call struct {
	*mock.Call
}

Response_AssertCookieMissing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCookieMissing'

func (*Response_AssertCookieMissing_Call) Return

func (*Response_AssertCookieMissing_Call) Run

func (*Response_AssertCookieMissing_Call) RunAndReturn

type Response_AssertCookieNotExpired_Call

type Response_AssertCookieNotExpired_Call struct {
	*mock.Call
}

Response_AssertCookieNotExpired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCookieNotExpired'

func (*Response_AssertCookieNotExpired_Call) Return

func (*Response_AssertCookieNotExpired_Call) Run

func (*Response_AssertCookieNotExpired_Call) RunAndReturn

type Response_AssertCookie_Call

type Response_AssertCookie_Call struct {
	*mock.Call
}

Response_AssertCookie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCookie'

func (*Response_AssertCookie_Call) Return

func (*Response_AssertCookie_Call) Run

func (_c *Response_AssertCookie_Call) Run(run func(name string, value string)) *Response_AssertCookie_Call

func (*Response_AssertCookie_Call) RunAndReturn

type Response_AssertCreated_Call

type Response_AssertCreated_Call struct {
	*mock.Call
}

Response_AssertCreated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertCreated'

func (*Response_AssertCreated_Call) Return

func (*Response_AssertCreated_Call) Run

func (*Response_AssertCreated_Call) RunAndReturn

type Response_AssertDontSee_Call

type Response_AssertDontSee_Call struct {
	*mock.Call
}

Response_AssertDontSee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertDontSee'

func (*Response_AssertDontSee_Call) Return

func (*Response_AssertDontSee_Call) Run

func (_c *Response_AssertDontSee_Call) Run(run func(_a0 []string, _a1 ...bool)) *Response_AssertDontSee_Call

func (*Response_AssertDontSee_Call) RunAndReturn

type Response_AssertExactJson_Call

type Response_AssertExactJson_Call struct {
	*mock.Call
}

Response_AssertExactJson_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertExactJson'

func (*Response_AssertExactJson_Call) Return

func (*Response_AssertExactJson_Call) Run

func (_c *Response_AssertExactJson_Call) Run(run func(_a0 map[string]interface{})) *Response_AssertExactJson_Call

func (*Response_AssertExactJson_Call) RunAndReturn

func (_c *Response_AssertExactJson_Call) RunAndReturn(run func(map[string]interface{}) http.Response) *Response_AssertExactJson_Call

type Response_AssertFluentJson_Call

type Response_AssertFluentJson_Call struct {
	*mock.Call
}

Response_AssertFluentJson_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertFluentJson'

func (*Response_AssertFluentJson_Call) Return

func (*Response_AssertFluentJson_Call) Run

func (*Response_AssertFluentJson_Call) RunAndReturn

type Response_AssertForbidden_Call

type Response_AssertForbidden_Call struct {
	*mock.Call
}

Response_AssertForbidden_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertForbidden'

func (*Response_AssertForbidden_Call) Return

func (*Response_AssertForbidden_Call) Run

func (*Response_AssertForbidden_Call) RunAndReturn

type Response_AssertFound_Call

type Response_AssertFound_Call struct {
	*mock.Call
}

Response_AssertFound_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertFound'

func (*Response_AssertFound_Call) Return

func (*Response_AssertFound_Call) Run

func (*Response_AssertFound_Call) RunAndReturn

func (_c *Response_AssertFound_Call) RunAndReturn(run func() http.Response) *Response_AssertFound_Call

type Response_AssertGone_Call

type Response_AssertGone_Call struct {
	*mock.Call
}

Response_AssertGone_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertGone'

func (*Response_AssertGone_Call) Return

func (*Response_AssertGone_Call) Run

func (*Response_AssertGone_Call) RunAndReturn

func (_c *Response_AssertGone_Call) RunAndReturn(run func() http.Response) *Response_AssertGone_Call

type Response_AssertHeaderMissing_Call

type Response_AssertHeaderMissing_Call struct {
	*mock.Call
}

Response_AssertHeaderMissing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertHeaderMissing'

func (*Response_AssertHeaderMissing_Call) Return

func (*Response_AssertHeaderMissing_Call) Run

func (*Response_AssertHeaderMissing_Call) RunAndReturn

type Response_AssertHeader_Call

type Response_AssertHeader_Call struct {
	*mock.Call
}

Response_AssertHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertHeader'

func (*Response_AssertHeader_Call) Return

func (*Response_AssertHeader_Call) Run

func (_c *Response_AssertHeader_Call) Run(run func(headerName string, value string)) *Response_AssertHeader_Call

func (*Response_AssertHeader_Call) RunAndReturn

type Response_AssertInternalServerError_Call

type Response_AssertInternalServerError_Call struct {
	*mock.Call
}

Response_AssertInternalServerError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertInternalServerError'

func (*Response_AssertInternalServerError_Call) Return

func (*Response_AssertInternalServerError_Call) Run

func (*Response_AssertInternalServerError_Call) RunAndReturn

type Response_AssertJsonMissing_Call

type Response_AssertJsonMissing_Call struct {
	*mock.Call
}

Response_AssertJsonMissing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertJsonMissing'

func (*Response_AssertJsonMissing_Call) Return

func (*Response_AssertJsonMissing_Call) Run

func (_c *Response_AssertJsonMissing_Call) Run(run func(_a0 map[string]interface{})) *Response_AssertJsonMissing_Call

func (*Response_AssertJsonMissing_Call) RunAndReturn

func (_c *Response_AssertJsonMissing_Call) RunAndReturn(run func(map[string]interface{}) http.Response) *Response_AssertJsonMissing_Call

type Response_AssertJson_Call

type Response_AssertJson_Call struct {
	*mock.Call
}

Response_AssertJson_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertJson'

func (*Response_AssertJson_Call) Return

func (*Response_AssertJson_Call) Run

func (_c *Response_AssertJson_Call) Run(run func(_a0 map[string]interface{})) *Response_AssertJson_Call

func (*Response_AssertJson_Call) RunAndReturn

func (_c *Response_AssertJson_Call) RunAndReturn(run func(map[string]interface{}) http.Response) *Response_AssertJson_Call

type Response_AssertMethodNotAllowed_Call

type Response_AssertMethodNotAllowed_Call struct {
	*mock.Call
}

Response_AssertMethodNotAllowed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertMethodNotAllowed'

func (*Response_AssertMethodNotAllowed_Call) Return

func (*Response_AssertMethodNotAllowed_Call) Run

func (*Response_AssertMethodNotAllowed_Call) RunAndReturn

type Response_AssertMovedPermanently_Call

type Response_AssertMovedPermanently_Call struct {
	*mock.Call
}

Response_AssertMovedPermanently_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertMovedPermanently'

func (*Response_AssertMovedPermanently_Call) Return

func (*Response_AssertMovedPermanently_Call) Run

func (*Response_AssertMovedPermanently_Call) RunAndReturn

type Response_AssertNoContent_Call

type Response_AssertNoContent_Call struct {
	*mock.Call
}

Response_AssertNoContent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertNoContent'

func (*Response_AssertNoContent_Call) Return

func (*Response_AssertNoContent_Call) Run

func (_c *Response_AssertNoContent_Call) Run(run func(status ...int)) *Response_AssertNoContent_Call

func (*Response_AssertNoContent_Call) RunAndReturn

type Response_AssertNotAcceptable_Call

type Response_AssertNotAcceptable_Call struct {
	*mock.Call
}

Response_AssertNotAcceptable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertNotAcceptable'

func (*Response_AssertNotAcceptable_Call) Return

func (*Response_AssertNotAcceptable_Call) Run

func (*Response_AssertNotAcceptable_Call) RunAndReturn

type Response_AssertNotFound_Call

type Response_AssertNotFound_Call struct {
	*mock.Call
}

Response_AssertNotFound_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertNotFound'

func (*Response_AssertNotFound_Call) Return

func (*Response_AssertNotFound_Call) Run

func (*Response_AssertNotFound_Call) RunAndReturn

type Response_AssertNotModified_Call

type Response_AssertNotModified_Call struct {
	*mock.Call
}

Response_AssertNotModified_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertNotModified'

func (*Response_AssertNotModified_Call) Return

func (*Response_AssertNotModified_Call) Run

func (*Response_AssertNotModified_Call) RunAndReturn

type Response_AssertOk_Call

type Response_AssertOk_Call struct {
	*mock.Call
}

Response_AssertOk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertOk'

func (*Response_AssertOk_Call) Return

func (*Response_AssertOk_Call) Run

func (_c *Response_AssertOk_Call) Run(run func()) *Response_AssertOk_Call

func (*Response_AssertOk_Call) RunAndReturn

func (_c *Response_AssertOk_Call) RunAndReturn(run func() http.Response) *Response_AssertOk_Call

type Response_AssertPartialContent_Call

type Response_AssertPartialContent_Call struct {
	*mock.Call
}

Response_AssertPartialContent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertPartialContent'

func (*Response_AssertPartialContent_Call) Return

func (*Response_AssertPartialContent_Call) Run

func (*Response_AssertPartialContent_Call) RunAndReturn

type Response_AssertPaymentRequired_Call

type Response_AssertPaymentRequired_Call struct {
	*mock.Call
}

Response_AssertPaymentRequired_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertPaymentRequired'

func (*Response_AssertPaymentRequired_Call) Return

func (*Response_AssertPaymentRequired_Call) Run

func (*Response_AssertPaymentRequired_Call) RunAndReturn

type Response_AssertRequestTimeout_Call

type Response_AssertRequestTimeout_Call struct {
	*mock.Call
}

Response_AssertRequestTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertRequestTimeout'

func (*Response_AssertRequestTimeout_Call) Return

func (*Response_AssertRequestTimeout_Call) Run

func (*Response_AssertRequestTimeout_Call) RunAndReturn

type Response_AssertSeeInOrder_Call

type Response_AssertSeeInOrder_Call struct {
	*mock.Call
}

Response_AssertSeeInOrder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertSeeInOrder'

func (*Response_AssertSeeInOrder_Call) Return

func (*Response_AssertSeeInOrder_Call) Run

func (*Response_AssertSeeInOrder_Call) RunAndReturn

type Response_AssertSee_Call

type Response_AssertSee_Call struct {
	*mock.Call
}

Response_AssertSee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertSee'

func (*Response_AssertSee_Call) Return

func (*Response_AssertSee_Call) Run

func (_c *Response_AssertSee_Call) Run(run func(_a0 []string, _a1 ...bool)) *Response_AssertSee_Call

func (*Response_AssertSee_Call) RunAndReturn

func (_c *Response_AssertSee_Call) RunAndReturn(run func([]string, ...bool) http.Response) *Response_AssertSee_Call

type Response_AssertServerError_Call

type Response_AssertServerError_Call struct {
	*mock.Call
}

Response_AssertServerError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertServerError'

func (*Response_AssertServerError_Call) Return

func (*Response_AssertServerError_Call) Run

func (*Response_AssertServerError_Call) RunAndReturn

type Response_AssertServiceUnavailable_Call

type Response_AssertServiceUnavailable_Call struct {
	*mock.Call
}

Response_AssertServiceUnavailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertServiceUnavailable'

func (*Response_AssertServiceUnavailable_Call) Return

func (*Response_AssertServiceUnavailable_Call) Run

func (*Response_AssertServiceUnavailable_Call) RunAndReturn

type Response_AssertStatus_Call

type Response_AssertStatus_Call struct {
	*mock.Call
}

Response_AssertStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertStatus'

func (*Response_AssertStatus_Call) Return

func (*Response_AssertStatus_Call) Run

func (_c *Response_AssertStatus_Call) Run(run func(status int)) *Response_AssertStatus_Call

func (*Response_AssertStatus_Call) RunAndReturn

type Response_AssertSuccessful_Call

type Response_AssertSuccessful_Call struct {
	*mock.Call
}

Response_AssertSuccessful_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertSuccessful'

func (*Response_AssertSuccessful_Call) Return

func (*Response_AssertSuccessful_Call) Run

func (*Response_AssertSuccessful_Call) RunAndReturn

type Response_AssertTemporaryRedirect_Call

type Response_AssertTemporaryRedirect_Call struct {
	*mock.Call
}

Response_AssertTemporaryRedirect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertTemporaryRedirect'

func (*Response_AssertTemporaryRedirect_Call) Return

func (*Response_AssertTemporaryRedirect_Call) Run

func (*Response_AssertTemporaryRedirect_Call) RunAndReturn

type Response_AssertTooManyRequests_Call

type Response_AssertTooManyRequests_Call struct {
	*mock.Call
}

Response_AssertTooManyRequests_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertTooManyRequests'

func (*Response_AssertTooManyRequests_Call) Return

func (*Response_AssertTooManyRequests_Call) Run

func (*Response_AssertTooManyRequests_Call) RunAndReturn

type Response_AssertUnauthorized_Call

type Response_AssertUnauthorized_Call struct {
	*mock.Call
}

Response_AssertUnauthorized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertUnauthorized'

func (*Response_AssertUnauthorized_Call) Return

func (*Response_AssertUnauthorized_Call) Run

func (*Response_AssertUnauthorized_Call) RunAndReturn

type Response_AssertUnprocessableEntity_Call

type Response_AssertUnprocessableEntity_Call struct {
	*mock.Call
}

Response_AssertUnprocessableEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertUnprocessableEntity'

func (*Response_AssertUnprocessableEntity_Call) Return

func (*Response_AssertUnprocessableEntity_Call) Run

func (*Response_AssertUnprocessableEntity_Call) RunAndReturn

type Response_AssertUnsupportedMediaType_Call

type Response_AssertUnsupportedMediaType_Call struct {
	*mock.Call
}

Response_AssertUnsupportedMediaType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssertUnsupportedMediaType'

func (*Response_AssertUnsupportedMediaType_Call) Return

func (*Response_AssertUnsupportedMediaType_Call) Run

func (*Response_AssertUnsupportedMediaType_Call) RunAndReturn

type Response_Content_Call

type Response_Content_Call struct {
	*mock.Call
}

Response_Content_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Content'

func (*Response_Content_Call) Return

func (*Response_Content_Call) Run

func (_c *Response_Content_Call) Run(run func()) *Response_Content_Call

func (*Response_Content_Call) RunAndReturn

func (_c *Response_Content_Call) RunAndReturn(run func() (string, error)) *Response_Content_Call
type Response_Cookie_Call struct {
	*mock.Call
}

Response_Cookie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cookie'

func (_c *Response_Cookie_Call) Run(run func(name string)) *Response_Cookie_Call
func (_c *Response_Cookie_Call) RunAndReturn(run func(string) *nethttp.Cookie) *Response_Cookie_Call

type Response_Cookies_Call

type Response_Cookies_Call struct {
	*mock.Call
}

Response_Cookies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cookies'

func (*Response_Cookies_Call) Return

func (*Response_Cookies_Call) Run

func (_c *Response_Cookies_Call) Run(run func()) *Response_Cookies_Call

func (*Response_Cookies_Call) RunAndReturn

func (_c *Response_Cookies_Call) RunAndReturn(run func() []*nethttp.Cookie) *Response_Cookies_Call

type Response_Expecter

type Response_Expecter struct {
	// contains filtered or unexported fields
}

func (*Response_Expecter) AssertAccepted

func (_e *Response_Expecter) AssertAccepted() *Response_AssertAccepted_Call

AssertAccepted is a helper method to define mock.On call

func (*Response_Expecter) AssertBadRequest

func (_e *Response_Expecter) AssertBadRequest() *Response_AssertBadRequest_Call

AssertBadRequest is a helper method to define mock.On call

func (*Response_Expecter) AssertConflict

func (_e *Response_Expecter) AssertConflict() *Response_AssertConflict_Call

AssertConflict is a helper method to define mock.On call

func (*Response_Expecter) AssertCookie

func (_e *Response_Expecter) AssertCookie(name interface{}, value interface{}) *Response_AssertCookie_Call

AssertCookie is a helper method to define mock.On call

  • name string
  • value string

func (*Response_Expecter) AssertCookieExpired

func (_e *Response_Expecter) AssertCookieExpired(_a0 interface{}) *Response_AssertCookieExpired_Call

AssertCookieExpired is a helper method to define mock.On call

  • _a0 string

func (*Response_Expecter) AssertCookieMissing

func (_e *Response_Expecter) AssertCookieMissing(_a0 interface{}) *Response_AssertCookieMissing_Call

AssertCookieMissing is a helper method to define mock.On call

  • _a0 string

func (*Response_Expecter) AssertCookieNotExpired

func (_e *Response_Expecter) AssertCookieNotExpired(_a0 interface{}) *Response_AssertCookieNotExpired_Call

AssertCookieNotExpired is a helper method to define mock.On call

  • _a0 string

func (*Response_Expecter) AssertCreated

func (_e *Response_Expecter) AssertCreated() *Response_AssertCreated_Call

AssertCreated is a helper method to define mock.On call

func (*Response_Expecter) AssertDontSee

func (_e *Response_Expecter) AssertDontSee(_a0 interface{}, _a1 ...interface{}) *Response_AssertDontSee_Call

AssertDontSee is a helper method to define mock.On call

  • _a0 []string
  • _a1 ...bool

func (*Response_Expecter) AssertExactJson

func (_e *Response_Expecter) AssertExactJson(_a0 interface{}) *Response_AssertExactJson_Call

AssertExactJson is a helper method to define mock.On call

  • _a0 map[string]interface{}

func (*Response_Expecter) AssertFluentJson

func (_e *Response_Expecter) AssertFluentJson(_a0 interface{}) *Response_AssertFluentJson_Call

AssertFluentJson is a helper method to define mock.On call

  • _a0 func(http.AssertableJSON)

func (*Response_Expecter) AssertForbidden

func (_e *Response_Expecter) AssertForbidden() *Response_AssertForbidden_Call

AssertForbidden is a helper method to define mock.On call

func (*Response_Expecter) AssertFound

func (_e *Response_Expecter) AssertFound() *Response_AssertFound_Call

AssertFound is a helper method to define mock.On call

func (*Response_Expecter) AssertGone

func (_e *Response_Expecter) AssertGone() *Response_AssertGone_Call

AssertGone is a helper method to define mock.On call

func (*Response_Expecter) AssertHeader

func (_e *Response_Expecter) AssertHeader(headerName interface{}, value interface{}) *Response_AssertHeader_Call

AssertHeader is a helper method to define mock.On call

  • headerName string
  • value string

func (*Response_Expecter) AssertHeaderMissing

func (_e *Response_Expecter) AssertHeaderMissing(_a0 interface{}) *Response_AssertHeaderMissing_Call

AssertHeaderMissing is a helper method to define mock.On call

  • _a0 string

func (*Response_Expecter) AssertInternalServerError

func (_e *Response_Expecter) AssertInternalServerError() *Response_AssertInternalServerError_Call

AssertInternalServerError is a helper method to define mock.On call

func (*Response_Expecter) AssertJson

func (_e *Response_Expecter) AssertJson(_a0 interface{}) *Response_AssertJson_Call

AssertJson is a helper method to define mock.On call

  • _a0 map[string]interface{}

func (*Response_Expecter) AssertJsonMissing

func (_e *Response_Expecter) AssertJsonMissing(_a0 interface{}) *Response_AssertJsonMissing_Call

AssertJsonMissing is a helper method to define mock.On call

  • _a0 map[string]interface{}

func (*Response_Expecter) AssertMethodNotAllowed

func (_e *Response_Expecter) AssertMethodNotAllowed() *Response_AssertMethodNotAllowed_Call

AssertMethodNotAllowed is a helper method to define mock.On call

func (*Response_Expecter) AssertMovedPermanently

func (_e *Response_Expecter) AssertMovedPermanently() *Response_AssertMovedPermanently_Call

AssertMovedPermanently is a helper method to define mock.On call

func (*Response_Expecter) AssertNoContent

func (_e *Response_Expecter) AssertNoContent(status ...interface{}) *Response_AssertNoContent_Call

AssertNoContent is a helper method to define mock.On call

  • status ...int

func (*Response_Expecter) AssertNotAcceptable

func (_e *Response_Expecter) AssertNotAcceptable() *Response_AssertNotAcceptable_Call

AssertNotAcceptable is a helper method to define mock.On call

func (*Response_Expecter) AssertNotFound

func (_e *Response_Expecter) AssertNotFound() *Response_AssertNotFound_Call

AssertNotFound is a helper method to define mock.On call

func (*Response_Expecter) AssertNotModified

func (_e *Response_Expecter) AssertNotModified() *Response_AssertNotModified_Call

AssertNotModified is a helper method to define mock.On call

func (*Response_Expecter) AssertOk

func (_e *Response_Expecter) AssertOk() *Response_AssertOk_Call

AssertOk is a helper method to define mock.On call

func (*Response_Expecter) AssertPartialContent

func (_e *Response_Expecter) AssertPartialContent() *Response_AssertPartialContent_Call

AssertPartialContent is a helper method to define mock.On call

func (*Response_Expecter) AssertPaymentRequired

func (_e *Response_Expecter) AssertPaymentRequired() *Response_AssertPaymentRequired_Call

AssertPaymentRequired is a helper method to define mock.On call

func (*Response_Expecter) AssertRequestTimeout

func (_e *Response_Expecter) AssertRequestTimeout() *Response_AssertRequestTimeout_Call

AssertRequestTimeout is a helper method to define mock.On call

func (*Response_Expecter) AssertSee

func (_e *Response_Expecter) AssertSee(_a0 interface{}, _a1 ...interface{}) *Response_AssertSee_Call

AssertSee is a helper method to define mock.On call

  • _a0 []string
  • _a1 ...bool

func (*Response_Expecter) AssertSeeInOrder

func (_e *Response_Expecter) AssertSeeInOrder(_a0 interface{}, _a1 ...interface{}) *Response_AssertSeeInOrder_Call

AssertSeeInOrder is a helper method to define mock.On call

  • _a0 []string
  • _a1 ...bool

func (*Response_Expecter) AssertServerError

func (_e *Response_Expecter) AssertServerError() *Response_AssertServerError_Call

AssertServerError is a helper method to define mock.On call

func (*Response_Expecter) AssertServiceUnavailable

func (_e *Response_Expecter) AssertServiceUnavailable() *Response_AssertServiceUnavailable_Call

AssertServiceUnavailable is a helper method to define mock.On call

func (*Response_Expecter) AssertStatus

func (_e *Response_Expecter) AssertStatus(status interface{}) *Response_AssertStatus_Call

AssertStatus is a helper method to define mock.On call

  • status int

func (*Response_Expecter) AssertSuccessful

func (_e *Response_Expecter) AssertSuccessful() *Response_AssertSuccessful_Call

AssertSuccessful is a helper method to define mock.On call

func (*Response_Expecter) AssertTemporaryRedirect

func (_e *Response_Expecter) AssertTemporaryRedirect() *Response_AssertTemporaryRedirect_Call

AssertTemporaryRedirect is a helper method to define mock.On call

func (*Response_Expecter) AssertTooManyRequests

func (_e *Response_Expecter) AssertTooManyRequests() *Response_AssertTooManyRequests_Call

AssertTooManyRequests is a helper method to define mock.On call

func (*Response_Expecter) AssertUnauthorized

func (_e *Response_Expecter) AssertUnauthorized() *Response_AssertUnauthorized_Call

AssertUnauthorized is a helper method to define mock.On call

func (*Response_Expecter) AssertUnprocessableEntity

func (_e *Response_Expecter) AssertUnprocessableEntity() *Response_AssertUnprocessableEntity_Call

AssertUnprocessableEntity is a helper method to define mock.On call

func (*Response_Expecter) AssertUnsupportedMediaType

func (_e *Response_Expecter) AssertUnsupportedMediaType() *Response_AssertUnsupportedMediaType_Call

AssertUnsupportedMediaType is a helper method to define mock.On call

func (*Response_Expecter) Content

Content is a helper method to define mock.On call

func (*Response_Expecter) Cookie

func (_e *Response_Expecter) Cookie(name interface{}) *Response_Cookie_Call

Cookie is a helper method to define mock.On call

  • name string

func (*Response_Expecter) Cookies

Cookies is a helper method to define mock.On call

func (*Response_Expecter) Headers

Headers is a helper method to define mock.On call

func (*Response_Expecter) IsServerError

func (_e *Response_Expecter) IsServerError() *Response_IsServerError_Call

IsServerError is a helper method to define mock.On call

func (*Response_Expecter) IsSuccessful

func (_e *Response_Expecter) IsSuccessful() *Response_IsSuccessful_Call

IsSuccessful is a helper method to define mock.On call

func (*Response_Expecter) Json

Json is a helper method to define mock.On call

func (*Response_Expecter) Session

Session is a helper method to define mock.On call

type Response_Headers_Call

type Response_Headers_Call struct {
	*mock.Call
}

Response_Headers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Headers'

func (*Response_Headers_Call) Return

func (*Response_Headers_Call) Run

func (_c *Response_Headers_Call) Run(run func()) *Response_Headers_Call

func (*Response_Headers_Call) RunAndReturn

func (_c *Response_Headers_Call) RunAndReturn(run func() nethttp.Header) *Response_Headers_Call

type Response_IsServerError_Call

type Response_IsServerError_Call struct {
	*mock.Call
}

Response_IsServerError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsServerError'

func (*Response_IsServerError_Call) Return

func (*Response_IsServerError_Call) Run

func (*Response_IsServerError_Call) RunAndReturn

func (_c *Response_IsServerError_Call) RunAndReturn(run func() bool) *Response_IsServerError_Call

type Response_IsSuccessful_Call

type Response_IsSuccessful_Call struct {
	*mock.Call
}

Response_IsSuccessful_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSuccessful'

func (*Response_IsSuccessful_Call) Return

func (*Response_IsSuccessful_Call) Run

func (*Response_IsSuccessful_Call) RunAndReturn

func (_c *Response_IsSuccessful_Call) RunAndReturn(run func() bool) *Response_IsSuccessful_Call

type Response_Json_Call

type Response_Json_Call struct {
	*mock.Call
}

Response_Json_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Json'

func (*Response_Json_Call) Return

func (_c *Response_Json_Call) Return(_a0 map[string]interface{}, _a1 error) *Response_Json_Call

func (*Response_Json_Call) Run

func (_c *Response_Json_Call) Run(run func()) *Response_Json_Call

func (*Response_Json_Call) RunAndReturn

func (_c *Response_Json_Call) RunAndReturn(run func() (map[string]interface{}, error)) *Response_Json_Call

type Response_Session_Call

type Response_Session_Call struct {
	*mock.Call
}

Response_Session_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Session'

func (*Response_Session_Call) Return

func (_c *Response_Session_Call) Return(_a0 map[string]interface{}, _a1 error) *Response_Session_Call

func (*Response_Session_Call) Run

func (_c *Response_Session_Call) Run(run func()) *Response_Session_Call

func (*Response_Session_Call) RunAndReturn

func (_c *Response_Session_Call) RunAndReturn(run func() (map[string]interface{}, error)) *Response_Session_Call

Jump to

Keyboard shortcuts

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