simulator

package
v0.44.8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoSimulator

type NoSimulator struct {
}

func (*NoSimulator) Close

func (s *NoSimulator) Close() error

func (*NoSimulator) MeasurementLog

func (s *NoSimulator) MeasurementLog() ([]byte, error)

func (*NoSimulator) Open

func (s *NoSimulator) Open() error

func (*NoSimulator) Read

func (s *NoSimulator) Read([]byte) (int, error)

func (*NoSimulator) Write

func (s *NoSimulator) Write([]byte) (int, error)

type Simulator

type Simulator interface {
	io.ReadWriteCloser
	Open() error
	MeasurementLog() ([]byte, error)
}

func New

func New() (Simulator, error)

Jump to

Keyboard shortcuts

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