orchestrator

package
v0.0.0-...-dcb1143 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer interface {
	Consume(endpoint *url.URL) (httpCode int, body []byte, err error)
}

type Notifier

type Notifier interface {
	Notify(endpoint *url.URL, httpCode int, body []byte, begin time.Time, end time.Time) error
}

type Orchestrator

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

func NewOrchestrator

func NewOrchestrator(consumer Consumer, endpoint *url.URL, notifier Notifier) *Orchestrator

func (*Orchestrator) Do

func (o *Orchestrator) Do() error

Jump to

Keyboard shortcuts

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