Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MeshZipper ¶
type MeshZipper struct { Name string `json:"name"` Host string `json:"host"` Port int `json:"port"` }
MeshZipper
type Workflow ¶
type Workflow struct {
Functions []App `yaml:"functions"`
}
Workflow represents a YoMo Workflow.
type WorkflowConfig ¶
type WorkflowConfig struct { // Name represents the name of the zipper. Name string `yaml:"name"` // Host represents the listening host of the zipper. Host string `yaml:"host"` // Port represents the listening port of the zipper. Port int `yaml:"port"` // Workflow represents the sfn workflow. Workflow `yaml:",inline"` }
WorkflowConfig represents a YoMo Workflow config.
func LoadWorkflowConfig ¶
func LoadWorkflowConfig(path string) (*WorkflowConfig, error)
LoadWorkflowConfig the WorkflowConfig by path.
func ParseWorkflowConfig ¶
func ParseWorkflowConfig(config string) (*WorkflowConfig, error)
ParseWorkflowConfig parses the config.
Click to show internal directories.
Click to hide internal directories.