tart/benchmark/internal/executor/executor.go

12 lines
157 B
Go

package executor
import (
"context"
)
type Executor interface {
Name() string
Run(ctx context.Context, command string) ([]byte, error)
Close() error
}