vertex

package
v0.0.0-...-cc5316a Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Id_Nil = 0

Variables

This section is empty.

Functions

This section is empty.

Types

type Id

type Id int

type Type

type Type int
const (
	Type_Input Type = iota
	Type_Ingress
	Type_IngressAdapter
	Type_Egress
	Type_EgressAdapter
	Type_Feedback
	Type_Inspect
	Type_Bianry
)

type Vertex

type Vertex interface {
	// Get Id of the vertex.
	Id() Id
	// Get Type of the vertex.
	Type() Type
	// Start starts the vertex.
	Start(wg *sync.WaitGroup) error
}

Vertex is the interface that represents a vertex in the computing graph.

Jump to

Keyboard shortcuts

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