Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHandler ¶
type MockHandler struct { BeforeCalled bool BeforeError bool DoneCalled bool DoneError bool ErrorCalled bool ErrorError bool IgnoreOriginalErr bool Err error // callbacks useful for testing BeforeCallback func() DoneCallback func() }
MockHandler is a mock hookstate.Handler.
func (*MockHandler) Before ¶
func (h *MockHandler) Before() error
Before satisfies hookstate.Handler.Before
Click to show internal directories.
Click to hide internal directories.