Documentation
¶
Overview ¶
Package handlers annotation: @Mock(name="HandlersMock", sub="pkg_mocks")
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoSomeAnother ¶
*
- DoSomeAnother some doc
- @tag <code>Markup<</code>
- @param response documentation
Types ¶
type CopySomeInternalHandler ¶
type CopySomeInternalHandler interface { Handle(r http.Request) (http.Response, error) Proxy() SomeHandler SetProxy(SomeHandler) error }
CopySomeInternalHandler test interface for mocking Annotations:
@Mock(name="OverrodeMock", sub="mocks_2")
type DockCommentSomeInternalHandler ¶
type DockCommentSomeInternalHandler interface { Handle(r http.Request) (http.Response, error) Proxy() SomeHandler SetProxy(SomeHandler) error }
DockCommentSomeInternalHandler *
- test interface for mocking
- Annotations:
- @Mock(name="DockCommentSomeInternalHandler", sub="mocks_2")
type EmbeddedInterface ¶
type EmbeddedInterface interface { CopySomeInternalHandler SomeAnotherHandler }
EmbeddedInterface test interface embedding for mocking Annotations:
@Mock
type FunctionForTestingItsTool ¶
type FunctionForTestingItsTool func(SomeInternalHandler, http.Response) http.Request
FunctionForTestingItsTool test interface for mocking Annotations:
@Mock(sub="mocks_2")
type InterfaceReference ¶
type InterfaceReference SomeHandler
InterfaceReference test interface reference for mocking Annotations:
@Mock
type SomeAnotherHandler ¶
type SomeAnotherHandler interface { Handle(r http.Request) (http.Response, error) Proxy() SomeHandler SetProxy(SomeHandler) error }
SomeAnotherHandler test interface for mocking Annotations:
@Mock(name="OverrodeHandlerMockName")
type SomeInternalHandler ¶
type SomeInternalHandler interface { Handle(r http.Request) (http.Response, error) Proxy() SomeHandler SetProxy(SomeHandler) error }
SomeInternalHandler test interface for mocking Annotations:
@Mock(name="{{ .TypeName }}OverrodeMock", sub="mocks_2")
Directories
¶
Path | Synopsis |
---|---|
Code generated by Mock annotation processor.
|
Code generated by Mock annotation processor. |
Code generated by Mock annotation processor.
|
Code generated by Mock annotation processor. |
Code generated by Mock annotation processor.
|
Code generated by Mock annotation processor. |
mocksfakes
Code generated by Mock annotation processor.
|
Code generated by Mock annotation processor. |
Click to show internal directories.
Click to hide internal directories.