Documentation ¶
Index ¶
- type RedirectURLMaker
- type RedirectURLMaker_Expecter
- type RedirectURLMaker_URL_Call
- func (_c *RedirectURLMaker_URL_Call) Return(_a0 *url.URL, _a1 error) *RedirectURLMaker_URL_Call
- func (_c *RedirectURLMaker_URL_Call) Run(run func(_a0 context.Context, _a1 string)) *RedirectURLMaker_URL_Call
- func (_c *RedirectURLMaker_URL_Call) RunAndReturn(run func(context.Context, string) (*url.URL, error)) *RedirectURLMaker_URL_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedirectURLMaker ¶ added in v3.0.3
RedirectURLMaker is an autogenerated mock type for the RedirectURLMaker type
func NewRedirectURLMaker ¶ added in v3.4.0
func NewRedirectURLMaker(t mockConstructorTestingTNewRedirectURLMaker) *RedirectURLMaker
NewRedirectURLMaker creates a new instance of RedirectURLMaker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RedirectURLMaker) EXPECT ¶ added in v3.5.1
func (_m *RedirectURLMaker) EXPECT() *RedirectURLMaker_Expecter
type RedirectURLMaker_Expecter ¶ added in v3.5.1
type RedirectURLMaker_Expecter struct {
// contains filtered or unexported fields
}
func (*RedirectURLMaker_Expecter) URL ¶ added in v3.5.1
func (_e *RedirectURLMaker_Expecter) URL(_a0 interface{}, _a1 interface{}) *RedirectURLMaker_URL_Call
URL is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
type RedirectURLMaker_URL_Call ¶ added in v3.5.1
RedirectURLMaker_URL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'URL'
func (*RedirectURLMaker_URL_Call) Return ¶ added in v3.5.1
func (_c *RedirectURLMaker_URL_Call) Return(_a0 *url.URL, _a1 error) *RedirectURLMaker_URL_Call
func (*RedirectURLMaker_URL_Call) Run ¶ added in v3.5.1
func (_c *RedirectURLMaker_URL_Call) Run(run func(_a0 context.Context, _a1 string)) *RedirectURLMaker_URL_Call
func (*RedirectURLMaker_URL_Call) RunAndReturn ¶ added in v3.5.1
func (_c *RedirectURLMaker_URL_Call) RunAndReturn(run func(context.Context, string) (*url.URL, error)) *RedirectURLMaker_URL_Call
Click to show internal directories.
Click to hide internal directories.