]> git.giacomolli.uk - onehouse/blob - driver/m31/settings.go
Share the Alamo gateway request budget
[onehouse] / driver / m31 / settings.go
1 package m31
2
3 import "time"
4
5 // Settings defines one assembly. DeviceID is a canonical ULID. Address contains
6 // a host and TCP port. Unit is from one through 247. PollInterval is from ten
7 // milliseconds through one minute. Modules has one host followed by at most
8 // fifteen expansions in physical order. The constructor retains no slice or map
9 // from the caller.
10 type Settings struct {
11 DeviceID string
12 Address string
13 Unit byte
14 PollInterval time.Duration
15 Modules []Module
16 }