Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PLUGIN = node.NewPlugin("ZMQ", node.Disabled, configure, run)
)
View Source
var ( // RegisteredZMQTopics lists the available topics RegisteredZMQTopics = []string{ topicLMI, topicLMSI, topicLMHS, topicLM, topicLSM, topicSN, topicConfTrytes, topicTxTrytes, topicTX, topicSpentAddress, } )
Functions ¶
func GetAddressTopics ¶
func GetAddressTopics() []string
GetAddressTopics returns subscribed addresses
Types ¶
type AddressTopics ¶
type AddressTopics struct { Addressses []string // contains filtered or unexported fields }
AddressTopics stuct
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
Publisher is a simple zmq publisher abstraction
type SpecialTopics ¶
type SpecialTopics struct {
Topics []string
}
SpecialTopics struct
func GetSpecialTopics ¶
func GetSpecialTopics() *SpecialTopics
GetSpecialTopics is a sortet list of special topics (e.g. Addresses)
func (*SpecialTopics) AddressTopics ¶
func (st *SpecialTopics) AddressTopics()
AddressTopics filters SpecialTopics for address topics
Click to show internal directories.
Click to hide internal directories.