mirror of
https://github.com/certimate-go/certimate.git
synced 2026-06-19 21:03:27 +08:00
22 lines
395 B
Go
22 lines
395 B
Go
package engine
|
|
|
|
import (
|
|
"log/slog"
|
|
)
|
|
|
|
type startNodeExecutor struct {
|
|
nodeExecutor
|
|
}
|
|
|
|
func (e *startNodeExecutor) Execute(execCtx *NodeExecutionContext) (*NodeExecutionResult, error) {
|
|
execRes := newNodeExecutionResult(execCtx.Node)
|
|
|
|
return execRes, nil
|
|
}
|
|
|
|
func newStartNodeExecutor() NodeExecutor {
|
|
return &startNodeExecutor{
|
|
nodeExecutor: nodeExecutor{logger: slog.Default()},
|
|
}
|
|
}
|