graph

package
v0.0.0-...-b973768 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Grapher

type Grapher struct {
	Req *request.Request

	*dag.DAG
	*chain.Chain
	graph.GraphPlotter
}

Grapher ...

func NewGrapher

func NewGrapher(
	req *request.Request, d *dag.DAG, c *chain.Chain, p graph.GraphPlotter) *Grapher

NewGrapher A new Grapher should be made for every request.

type Plotter

type Plotter struct {
	*dag.DAG
	*chain.Chain
	// contains filtered or unexported fields
}

Plotter ...

func NewPlotter

func NewPlotter(name string, version int) (p Plotter)

func (*Plotter) Close

func (p *Plotter) Close()

func (*Plotter) Done

func (p *Plotter) Done() <-chan struct{}

func (*Plotter) NewNode

func (p *Plotter) NewNode(ctx context.Context, req *request.Request, step atom.Atom, name string, retry uint, retryWait time.Duration) (*dag.Node, error)

Jump to

Keyboard shortcuts

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