-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
Hi.
I have the pleasure of hacking away at some hardware that... doesn't quite get modbus right and I love the way your package works but It's not exactly extensible (ie: I need a slight variation of the tcp transport)
Before I put the effort into doing it, would you be opposed to receiving a patch that re-arranges the transports as packages?
eg: To get the tcp transport you would have the following imports
import (
"github.com/simonvetter/modbus"
_ "github.com/simonvetter/modbus/transport/tcp"
)Would mean I could then come along and add what I need without committing fringe code to your repository (or forking it entirely)
import (
"github.com/simonvetter/modbus"
_ "github.com/freman/device/transport/brokentcp"
)I would of course have it load all your existing transports to maintain backwards compatibility
Metadata
Metadata
Assignees
Labels
No labels