mock

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	ExportedEvents    []exporter.FeatureEvent
	Err               error
	ExpectedNumberErr int
	CurrentNumberErr  int
	Bulk              bool
	// contains filtered or unexported fields
}

func (*Exporter) Export

func (m *Exporter) Export(ctx context.Context, logger *log.Logger, events []exporter.FeatureEvent) error

func (*Exporter) GetExportedEvents

func (m *Exporter) GetExportedEvents() []exporter.FeatureEvent

func (*Exporter) IsBulk

func (m *Exporter) IsBulk() bool

type HTTP added in v0.26.0

type HTTP struct {
	Req http.Request
}

func (*HTTP) Do added in v0.26.0

func (m *HTTP) Do(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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