exred_node_redis_in v0.1.0 Exred.Node.RedisIn

A Redis input node.

Select the Redis command in the config tab.

Expects command arguments in msg.payload either as a list or a string if there’s only one argument.

Examples:

GET command:
msg.payload = [“myKey”] OR msg.payload = “myKey”

LRANGE command:
msg.payload = [0, 9]

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Callback implementation for Exred.Library.NodePrototype.fire/1

Initialize node. This is called as the last step of the node’s init function. Needs to return a new state or a {state, timeout} tuple. (see GenServer documentation)

Link to this section Functions

Link to this function add_out_node(pid, new_out)
Link to this function child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for Exred.Library.NodePrototype.fire/1.

Link to this function get_default_config()
Link to this function node_init(state)

Initialize node. This is called as the last step of the node’s init function. Needs to return a new state or a {state, timeout} tuple. (see GenServer documentation)

Callback implementation for Exred.Library.NodePrototype.node_init/1.

Link to this function set_out_nodes(pid, out_nodes)
Link to this function start_link(list)