Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { GetMeasurement(ctx context.Context, config apiv1.Config, lastMeasurement *contractsv1.Measurement) (measurement contractsv1.Measurement, err error) GetSample(ctx context.Context, config apiv1.Config, sampleConfig apiv1.ConfigSample, modbusClient modbus.Client) (sample contractsv1.Sample, err error) }
Client is the interface for connecting to a modbus device via ethernet
Click to show internal directories.
Click to hide internal directories.