MCPcopy Create free account
hub / github.com/Xenov-X/csbot / Executor

Struct Executor

workflow/executor.go:20–31  ·  view source on GitHub ↗

Executor executes workflows

Source from the content-addressed store, hash-verified

18
19// Executor executes workflows
20type Executor struct {
21 host string
22 port int
23 httpClient *http.Client
24 beacon *csclient.BeaconDto // beacon metadata for condition evaluation
25 outputs map[string]string // stores outputs from previous actions and beacon metadata
26 outputMu sync.RWMutex // protects outputs map for concurrent access
27 logger *logger.Logger
28 taskTimeout time.Duration
29 results []ActionResult // stores action results for output formatting
30 resultsMu sync.Mutex // protects results slice
31}
32
33// ActionResult represents the result of an action execution
34type ActionResult struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected