MCPcopy Create free account
hub / github.com/astercloud/aster / RouterStep

Struct RouterStep

pkg/workflow/step.go:601–609  ·  view source on GitHub ↗

===== RouterStep =====

Source from the content-addressed store, hash-verified

599// ===== RouterStep =====
600
601type RouterStep struct {
602 id string
603 name string
604 description string
605 router func(*StepInput) string
606 routes map[string]Step
607 defaultStep Step
608 config *StepConfig
609}
610
611func NewRouterStep(name string, router func(*StepInput) string, routes map[string]Step) *RouterStep {
612 return &RouterStep{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected