Documentation
¶
Index ¶
- type Config
- type ModbusStruct
- func (md *ModbusStruct) Name() string
- func (md *ModbusStruct) Read(b []byte) (n int, err error)
- func (md *ModbusStruct) RecvFlush()
- func (md *ModbusStruct) Shutdown()
- func (md *ModbusStruct) Write(b []byte) (n int, err error)
- func (md *ModbusStruct) WriteRead(request []byte, responseBuf []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModbusStruct ¶
type ModbusStruct struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg Config) (*ModbusStruct, error)
func (*ModbusStruct) Name ¶
func (md *ModbusStruct) Name() string
func (*ModbusStruct) RecvFlush ¶
func (md *ModbusStruct) RecvFlush()
func (*ModbusStruct) Shutdown ¶
func (md *ModbusStruct) Shutdown()
Click to show internal directories.
Click to hide internal directories.