Documentation ¶ Overview ¶ Package testdrv provides a Driver for testing. Index ¶ type Driver func New(name string) *Driver func (f *Driver) Close() error func (f *Driver) Ins() ([]drivers.In, error) func (f *Driver) Outs() ([]drivers.Out, error) func (f *Driver) Sleep(d time.Duration) func (f *Driver) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Driver ¶ type Driver struct { // contains filtered or unexported fields } func New ¶ func New(name string) *Driver func (*Driver) Close ¶ func (f *Driver) Close() error func (*Driver) Ins ¶ func (f *Driver) Ins() ([]drivers.In, error) func (*Driver) Outs ¶ func (f *Driver) Outs() ([]drivers.Out, error) func (*Driver) Sleep ¶ added in v2.0.18 func (f *Driver) Sleep(d time.Duration) func (*Driver) String ¶ func (f *Driver) String() string Source Files ¶ View all Source files driver.go Click to show internal directories. Click to hide internal directories.