Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeEventReporter ¶
type FakeEventReporter struct { ReceivedEvents []reporter.EventMessage ErrorOnReport bool }
func NewFakeEventReporter ¶
func NewFakeEventReporter() *FakeEventReporter
func (*FakeEventReporter) QueueEvent ¶
func (f *FakeEventReporter) QueueEvent(event reporter.EventMessage, callback func(error))
func (*FakeEventReporter) Report ¶
func (f *FakeEventReporter) Report(events []reporter.EventMessage) error
Click to show internal directories.
Click to hide internal directories.