package
Version:
v0.0.6
Opens a new window with list of versions in this module.
Published: Nov 27, 2019
License: MIT
Opens a new window with license information.
Imports: 6
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"`
}
func (s *Smartbus) Send(item interface{})
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.