This is a basic server based of the code by tbrandon
To use this demo you need to get the dependencies and compile the tool.
$ go get
$ go build
$ ./modbustcp
Once the server is running you can connect with a Modbus over TCP client.
If you find an issue please report it.