]> git.giacomolli.uk - onehouse/blobdiff - driver/m31/client.go
Share the Alamo gateway request budget
[onehouse] / driver / m31 / client.go
index 140e13e76abbf07135295fdded541311083a5057..8c65d030354318389641ab392d27592b368d0267 100644 (file)
@@ -5,8 +5,8 @@ import "context"
 // Client owns one serialized Modbus connection. Connect replaces a closed
 // connection and selects a unit from one through 247. Reads must return the
 // exact requested count. Writes validate their acknowledgements. All operations
-// honor caller cancellation. The driver closes each connection before retry.
-// A caller must not use the client concurrently.
+// honor caller cancellation. The driver closes each connection before retry. A
+// caller must not use the client concurrently.
 type Client interface {
        Connect(ctx context.Context, address string, unit byte) error
        Close() error