serial

package
v0.0.0-...-4ff3f89 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package to define an interface to mirror github.com/tarm/serial/Port.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Port

type Port interface {
	Close() (err error)
	Flush() error
	Read(b []byte) (n int, err error)
	Write(b []byte) (n int, err error)
}

Port is an interface definition for functions implemented by serial.Port.

This is used to facilitate testing.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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