tools

package
v0.0.0-...-cf58cc7 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VbadgerSct

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

func (*VbadgerSct) Close

func (vb *VbadgerSct) Close() error

func (*VbadgerSct) Delete

func (vb *VbadgerSct) Delete(key string) error

func (*VbadgerSct) GetAll

func (vb *VbadgerSct) GetAll() chan [2]string

func (*VbadgerSct) GetAllKeys

func (vb *VbadgerSct) GetAllKeys() chan string

func (*VbadgerSct) GetValue

func (vb *VbadgerSct) GetValue(key string) (string, error)

func (*VbadgerSct) InitReadOnly

func (vb *VbadgerSct) InitReadOnly(osPath string)

func (*VbadgerSct) Initial

func (vb *VbadgerSct) Initial(osPath string)

func (*VbadgerSct) SeekPrefix

func (vb *VbadgerSct) SeekPrefix(prefix string) error

func (*VbadgerSct) SetKeyValue

func (vb *VbadgerSct) SetKeyValue(key, value string) error

type VserialSct

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

func (*VserialSct) Close

func (vs *VserialSct) Close() error

func (*VserialSct) Open

func (vs *VserialSct) Open(portName string, baud int) error

func (*VserialSct) Ports

func (vs *VserialSct) Ports() ([]string, error)

func (*VserialSct) Read

func (vs *VserialSct) Read(ctx context.Context) (chan string, error)

func (*VserialSct) ReadSplit

func (vs *VserialSct) ReadSplit(ctx context.Context, sep string) (chan string, error)

func (*VserialSct) Write

func (vs *VserialSct) Write(buf string) (n int, err error)

type VusartSct

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

func (*VusartSct) Initial

func (vu *VusartSct) Initial(portName string, baudRate uint)

func (*VusartSct) Read

func (vu *VusartSct) Read(ctx context.Context) (chan string, error)

func (*VusartSct) ReadSplit

func (vu *VusartSct) ReadSplit(ctx context.Context, sep string) (chan string, error)

func (*VusartSct) Write

func (vu *VusartSct) Write(buf string) error

Jump to

Keyboard shortcuts

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