ex_nsq v1.1.0 NSQ.ConnInfo

Link to this section Summary

Functions

Get info for all connections in a map like %{conn_id: %{... data ...}}

Given a connection state object, return the connection ID

Given a consumer state object and an nsqd host/port tuple, return the connection ID

func is passed conn_info for each connection

Link to this section Functions

Get info for all connections in a map like %{conn_id: %{... data ...}}.

Given a connection state object, return the connection ID.

Link to this function conn_id(parent, nsqd)

Given a consumer state object and an nsqd host/port tuple, return the connection ID.

Link to this function init(state)
init(map) :: any
Link to this function reduce(agent_pid, start_acc, func)

func is passed conn_info for each connection.