github.com/u-root/u-root@v7.0.1-0.20200915234505-ad7babab0a8e+incompatible/cmds/exp/ectool/eclib.go (about)

     1  package main
     2  
     3  import (
     4  	"time"
     5  )
     6  
     7  type (
     8  	command int
     9  	version int
    10  )
    11  
    12  type ec interface {
    13  	Probe(timeout time.Duration) error
    14  	Cleanup(timeout time.Duration) error
    15  	Wait(timeout time.Duration) error
    16  	Command(command command, version version, idata []byte, outsize int, timeout time.Duration) ([]byte, error)
    17  }