iface.go 211 B

123456789
  1. package runner
  2. import "time"
  3. type Runner interface {
  4. // Run runs the code and returns the stdout and stderr
  5. Run(code string, timeout time.Duration, stdin chan []byte) (<-chan []byte, <-chan []byte, error)
  6. }