package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Feb 17, 2017
License: MIT
Opens a new window with license information.
Imports: 1
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
¶
Click to show internal directories.
Click to hide internal directories.