Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsumer ¶
NewConsumer creates a new consumer and registers it for lifecycle management.
func NewProducer ¶
NewProducer creates a new producer and registers it for lifecycle management.
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
batch
command
Example: Batch acknowledgments for high throughput.
|
Example: Batch acknowledgments for high throughput. |
|
browsing
command
Example: Browse queue messages by category.
|
Example: Browse queue messages by category. |
|
consumer
command
Example: Consume messages from a queue.
|
Example: Consume messages from a queue. |
|
direct_exchange
command
Example: Exchange-based routing.
|
Example: Exchange-based routing. |
|
fanout_exchange
command
Example: Fanout exchange — broadcast to all bound queues.
|
Example: Fanout exchange — broadcast to all bound queues. |
|
producer
command
Example: Produce messages to a queue.
|
Example: Produce messages to a queue. |
|
producer_consumer
command
Example: Full producer and consumer in one process.
|
Example: Full producer and consumer in one process. |
|
pubsub
command
Example: Pub/Sub with consumer groups.
|
Example: Pub/Sub with consumer groups. |
|
scheduling
command
Example: Scheduled and delayed messages.
|
Example: Scheduled and delayed messages. |
|
topic_exchange
command
Example: Topic exchange with pattern-based routing.
|
Example: Topic exchange with pattern-based routing. |
|
internal
|
|
|
codec
Package codec provides interfaces and implementations for serializing domain types to and from Redis storage formats.
|
Package codec provides interfaces and implementations for serializing domain types to and from Redis storage formats. |
|
config/events
Package events defines internal configuration event names and payload types.
|
Package events defines internal configuration event names and payload types. |
|
consumer/events
Package events defines internal consumer event names and payload types.
|
Package events defines internal consumer event names and payload types. |
|
errs
Package errs provides shared sentinel errors for the internal layer.
|
Package errs provides shared sentinel errors for the internal layer. |
|
producer/events
Package events defines internal producer event names and payload types.
|
Package events defines internal producer event names and payload types. |
|
queue/events
Package events defines internal queue event names and payload types.
|
Package events defines internal queue event names and payload types. |
|
redis
Package redis provides the Redis client singleton and shared utilities for hash, set, and transaction operations.
|
Package redis provides the Redis client singleton and shared utilities for hash, set, and transaction operations. |
|
util/cron
go/internal/util/cron/cron.go
|
go/internal/util/cron/cron.go |
|
util/logger/cfg
Package cfg wires the application configuration into the logger's ConfigProvider.
|
Package cfg wires the application configuration into the logger's ConfigProvider. |
|
pkg
|
|
|
config
Package config provides public APIs for reading, saving, reloading, and resetting RedisSMQ system configuration.
|
Package config provides public APIs for reading, saving, reloading, and resetting RedisSMQ system configuration. |
|
config/cfg
Package cfg defines the public configuration structures used by RedisSMQ.
|
Package cfg defines the public configuration structures used by RedisSMQ. |
|
consumer
Package consumer provides the public API for creating and managing RedisSMQ consumers.
|
Package consumer provides the public API for creating and managing RedisSMQ consumers. |
|
consumer/c
Package c provides configuration options and types for RedisSMQ consumers.
|
Package c provides configuration options and types for RedisSMQ consumers. |
|
consumer/events
Package events provides public subscription functions for RedisSMQ consumer events.
|
Package events provides public subscription functions for RedisSMQ consumer events. |
|
message
Package message provides a public API for managing RedisSMQ messages.
|
Package message provides a public API for managing RedisSMQ messages. |
|
message/msg
Package msg defines message types, statuses, priorities, and related configuration used by the public message API.
|
Package msg defines message types, statuses, priorities, and related configuration used by the public message API. |
|
namespace
Package namespace provides namespace-level operations for RedisSMQ.
|
Package namespace provides namespace-level operations for RedisSMQ. |
|
namespace/ns
Package ns defines namespace-specific sentinel errors and validation errors used by the public namespace API.
|
Package ns defines namespace-specific sentinel errors and validation errors used by the public namespace API. |
|
producer
Package producer provides the public API for creating and managing RedisSMQ producers.
|
Package producer provides the public API for creating and managing RedisSMQ producers. |
|
producer/events
Package events provides public subscription functions for RedisSMQ producer events.
|
Package events provides public subscription functions for RedisSMQ producer events. |
|
producer/p
Package p provides sentinel errors returned by the RedisSMQ producer.
|
Package p provides sentinel errors returned by the RedisSMQ producer. |
|
queue
Package queue provides a high-level, user-facing API for managing RedisSMQ queues.
|
Package queue provides a high-level, user-facing API for managing RedisSMQ queues. |
|
queue/events
Package events provides public subscription functions for RedisSMQ queue events.
|
Package events provides public subscription functions for RedisSMQ queue events. |
Click to show internal directories.
Click to hide internal directories.