MCPcopy Create free account

hub / github.com/armon/relay / types & classes

Types & classes20 in github.com/armon/relay

InterfaceBroker
Broker implements a high level interface that can provide Consumer or Publisher
broker/broker.go:7
StructConfig
Config is passed into New when creating a Relay to tune various parameters around broker interactions.
relay.go:15
InterfaceConsumer
Consumer is used to consume messages from a queue
broker/broker.go:20
StructConsumer
Consumer is a type that is used only for consuming messages from a single queue. Multiple Consumers can multiplex a single relay
consumer.go:13
StructGOBSerializer
GOBSerializer implements the Serializer interface and uses the GOB format
serialization.go:19
StructInmemBroker
InmemBroker implements the Broker interface in-memory
inmem/inmem.go:13
StructInmemConsumer
InmemConsumer implements the Consumer interface
inmem/inmem.go:21
StructInmemPublisher
InmemConsumer implements the Publisher interface
inmem/inmem.go:30
StructJSONSerializer
JSONSerializer implements the Serializer interface and uses JSON
serialization.go:34
StructPriorityQueue
PriorityQueue is a simple wrapper around a relay.Broker to manage a set of queues with varying priority.
pq/pq.go:26
InterfacePublisher
Publisher is used to push messages into a queue
broker/broker.go:14
StructPublisher
Publisher is a type that is used only for publishing messages to a single queue. Multiple Publishers can multiplex a single relay
publisher.go:15
StructRelay
relay.go:33
InterfaceSerializer
Serializer interface is used to encode and decode messages. If not provided, a default serializer using gob is provided.
serialization.go:12
Structbasic
serialization_test.go:11
StructpriorityResp
priorityResp is used as a container for response data during a Consume(). Since the response must be fed down a channel and contains multiple values,
pq/pq.go:39
StructrelayBroker
relay.go:380
StructretryBroker
retryBroker implements a resilient AMQP broker which automatically replaces the underlying channel if an unexpected error is observed. Due to AMQP's p
retry.go:33
StructretryConsumer
retryConsumer tracks the relay broker and an associated consumer, allowing the consumer to be replaced transparently in the face of failure.
retry.go:83
StructretryPublisher
retryPublisher wraps a relay broker and an associated publisher, allowing the underlying publisher's channel to be automatically swapped out if any er
retry.go:248