Categorygithub.com/vine-io/flow
modulepackage
0.14.6
Repository: https://github.com/vine-io/flow.git
Documentation: pkg.go.dev

# README

flow

实例代码

查看 examples

生成 echo 代码

cd $GOPATH/src
protoc -I. --gogo_out=:. --flow_out=:. github.com/vine-io/flow/examples/pb/hello.proto

启动 etcd

etcd

启动 server 和 client

go build -o _output/server examples/server/server.go
go build -o _output/client examples/client/client.go

_output/server
_output/client

下载 protoc-gen-flow

bash -c tool/install.sh

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

EchoToAPI returns a new instance *api.Echo based on the specified Echo interface implementation.
EntityToAPI returns a new instance *api.Entity based on the specified Entity interface implementation.
No description provided by the author
GetTypePkgName returns the package path and kind for object based on reflect.Type.
No description provided by the author
No description provided by the author
No description provided by the author
IsRetriedErr returns boolean value if the error is specified code.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewSubWorkflowBuilder returns a new instance of the SubWorkflowBuilder struct.
No description provided by the author
NewWorkFlowBuilder returns a new instance of the WorkflowBuilder struct.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StepToAPI returns a new instance *api.Step based on the specified Step interface implementation.
StepToWorkStep returns a new instance *api.WorkflowStep based on the specified Step interface implementation.
WithId sets the Wid field of *api.WorkflowOption to the specified value.
No description provided by the author
WithMaxRetry sets the MaxRetries field of *api.WorkflowOption to the specified value.
WithName sets the Name field of *api.WorkflowOption to the specified value.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SubWorkflowBuilder the builder pattern is used to separate the construction of a complex object of its representation so that the same construction sub process can create different representations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WorkflowBuilder the builder pattern is used to separate the construction of a complex object of its representation so that the same construction process can create different representations.
WorkflowStepBuilder the builder pattern is used to separate the construction of a complex object of its representation so that the same construction process can create different representations.

# Interfaces

Echo 描述一个具体的请求.
Entity 描述工作流中的具体资源,是工作流中的执行单元.
No description provided by the author
No description provided by the author
Step 表示具有原子性的复杂操作.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
Option represents a configuration option for Workflow struct.
No description provided by the author