package
0.0.0-20200930173842-476b4f672e85
Repository: https://github.com/iotdomain/iotdomain-go.git
Documentation: pkg.go.dev

# Functions

MakeInputDiscoveryAddress creates the address for the input discovery.
MakeInputHWID creates the internal ID to identify the input of the owning node using its HWID.
MakeSetInputAddress creates the address used to update a node input value nodeAddress is an address containing the node.
NewDomainInputs creates a new instance for handling of discovered domain inputs.
NewInput instance for creating an input object for later adding.
NewReceiveFromFiles creates a new file watcher input list.
NewReceiveFromHTTP creates a new instance of HTTP based inputs Inputs must be created through CreateInput.
NewReceiveFromOutputs creates a input list with subscriptions to outputs to use as input.
NewReceiveFromSetCommands returns a new instance of handling of set input commands.
NewRegisteredInputs creates a new instance for managing registered inputs.
PublishRegisteredInputs publishes input discovery messages This will clear the updated inputs list.
PublishSetInput sends a message to set the input value of a remote destination.

# Structs

DomainInputs for managing discovered inputs.
ReceiveFromFiles receives updates from file watchers of inputs that listens for changes in files This supports multiple watchers for the same file.
ReceiveFromHTTP with inputs to periodically poll HTTP Only a single handler per URL can be used.
ReceiveFromOutputs subscribe to domain outputs to use as input.
ReceiveFromSetCommands handles set commands aimed at inputs managed by this publisher.
RegisteredInputs manages registration of publisher inputs Generics would be nice as this overlaps with outputs, nodes, publishers The inputID used in the inputMap consist of nodeHWID.inputType.instance.