package
Version:
v0.0.10
Opens a new window with list of versions in this module.
Published: Apr 9, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Request struct {
Line string `json:"line"`
Device string `json:"device"`
Baud int `json:"baud"`
StopBits int `json:"stop_bits"`
Sleep int64 `json:"sleep"`
Timeout time.Duration `json:"timeout"`
Command []byte `json:"command"`
Result bool `json:"result"`
}
type Result struct {
Command []byte `json:"command"`
Device string `json:"device"`
Result string `json:"result"`
Error string `json:"error"`
ErrorCode string `json:"error_code"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.