testdrv

package
v2.2.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Overview

Package testdrv provides a Driver for testing.

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL