reporter

package
v0.0.0-...-8abfa7c Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleReporter

type ConsoleReporter struct {
	// contains filtered or unexported fields
}

func (*ConsoleReporter) ReportGeneration

func (cr *ConsoleReporter) ReportGeneration(resp string)

func (*ConsoleReporter) ReportIteration

func (cr *ConsoleReporter) ReportIteration(iteration int)

type JSONReporter

type JSONReporter struct {
	// contains filtered or unexported fields
}

func CreateJSONReporter

func CreateJSONReporter(path string) (reportWriter JSONReporter)

func (*JSONReporter) SerializeIteration

func (reportWriter *JSONReporter) SerializeIteration(result *IterationResult)

type Reporters

type Reporters struct {
	JSON    *JSONReporter
	Text    *TextReporter
	Console *ConsoleReporter
}

func (Reporters) ReportGeneration

func (reporters Reporters) ReportGeneration(resp string)

func (Reporters) ReportIteration

func (reporters Reporters) ReportIteration(iteration int)

func (Reporters) SerializeIteration

func (reporters Reporters) SerializeIteration(result *IterationResult)

type TextReporter

type TextReporter struct {
	// contains filtered or unexported fields
}

func (*TextReporter) ReportGeneration

func (tr *TextReporter) ReportGeneration(resp string)

func (*TextReporter) ReportIteration

func (tr *TextReporter) ReportIteration(iteration int)

Jump to

Keyboard shortcuts

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