fake

package
v0.3.52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

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
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL