X-Git-Url: https://git.giacomolli.uk/onehouse/blobdiff_plain/e265936fc819d49c8758dffeee776fe456f54f85..2392f423feb689c99600e5cb2c37ee93c62e603d:/driver/m31/client.go?ds=sidebyside diff --git a/driver/m31/client.go b/driver/m31/client.go index 140e13e..8c65d03 100644 --- a/driver/m31/client.go +++ b/driver/m31/client.go @@ -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