]> git.giacomolli.uk - onehouse/blobdiff - driver/alamo/client.go
Poll and command shared Alamo thermostats
[onehouse] / driver / alamo / client.go
index de708463152d25d3583ccab72d35830af7a69803..29cfb41623b1fab750c080d3ec2640db2b9e4e41 100644 (file)
@@ -5,7 +5,7 @@ import "context"
 // Client performs one raw gateway exchange. The driver serializes exchanges and
 // applies the shared request interval. Implementations honor ctx, return full
 // validated records, and do not log. The caller owns the client and its
 // Client performs one raw gateway exchange. The driver serializes exchanges and
 // applies the shared request interval. Implementations honor ctx, return full
 // validated records, and do not log. The caller owns the client and its
-// cleanup.
+// cleanup. Errors omit addresses, queries, and response data.
 type Client interface {
        Status(ctx context.Context) ([]State, error)
        Action(ctx context.Context, mac string, action Action) (State, error)
 type Client interface {
        Status(ctx context.Context) ([]State, error)
        Action(ctx context.Context, mac string, action Action) (State, error)