serial

package
v0.0.0-...-fe6dcde Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Manifest *module.Manifest

Functions

func Constructor

func Constructor(wrap *module.Wrap) (module.Module, error)

func NewDevice

func NewDevice(filename string) (this *device, err error)

Creates and initializes a device

Types

type Barcode

type Barcode struct {
	// contains filtered or unexported fields
}

func (*Barcode) GetValue

func (b *Barcode) GetValue() string

type Config

type Config struct {
	base.Config
	FileName   string `json:"FileName"`
	ReceiverId string `json:"ReceiverId"`
}

func (Config) GetFileName

func (c Config) GetFileName() string

func (Config) GetReceiverId

func (c Config) GetReceiverId() string

type Configurer

type Configurer interface {
	base.Configurer
	GetReceiverId() string
	GetFileName() string
}

type Module

type Module struct {
	base.Module
	FileName   string
	ReceiverId string
	// contains filtered or unexported fields
}

func NewModule

func NewModule(w *module.Wrap) (*Module, error)

type Receiver

type Receiver interface {
	Receive(interface{})
}

Jump to

Keyboard shortcuts

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