Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler is a stats handler that can record events for inspection and make assertions on them.
func (*Handler) AssertEvents ¶
AssertEvents asserts that the given events were handled by the handler. It only checks the following event fields for equality — .Args, .Debug and .Message. It ignores the .Source and .Time fields.
func (*Handler) HandleEvent ¶
HandleEvent implements the events.Handler interface.
Click to show internal directories.
Click to hide internal directories.