Versions in this module Expand all Collapse all v0 v0.0.3 May 21, 2020 Changes in this version + type NatsMessage struct + Err error + Result interface{} v0.0.2 May 20, 2020 Changes in this version + type NatsDevice struct + Name string + func NewNatsDevice(name string, nc *nats.Conn, ec *nats.EncodedConn, pvs []modbuspv.ModbusPV, ...) (*NatsDevice, error) + func NewNatsDeviceFromConfig(config programconfig.Config, nc *nats.Conn, ec *nats.EncodedConn, ...) (*NatsDevice, error) + func (d *NatsDevice) ClearSubs() + func (d *NatsDevice) Handle(ctx context.Context)