workflow

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FlowClients map[string]Client
View Source
var SinkClients map[string]Client

Functions

func Build

func Build(wfConf *conf.WorkflowConfig, id int64) ([]func() (io.ReadWriter, func()), []func() (io.Writer, func()))

Build build the workflow by config (.yaml).

func Run

func Run(endpoint string, handle quic.ServerHandler) error

Run runs quic service

Types

type Client

type Client struct {
	App        conf.App
	StreamMap  map[int64]Stream
	QuicClient quic.Client
}

type Stream added in v1.0.0

type Stream struct {
	St         io.ReadWriter
	CancelFunc context.CancelFunc
}

Jump to

Keyboard shortcuts

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