Documentation
¶
Index ¶
- func NewGCloudSubscription(ctx context.Context, project string, topic string, subscription string) (*pubsub.Subscription, func(), error)
- func NewGCloudTopic(ctx context.Context, project string, topic string) (*pubsub.Topic, error)
- func NewInMemoryTopic(ctx context.Context, topic string) (*pubsub.Topic, error)
- func NewRabbitTopic(ctx context.Context, topic string) (*pubsub.Topic, error)
- func OpenSubscription(ctx context.Context, subscription string, topic string) (*pubsub.Subscription, func(), error)
- func OpenTopic(ctx context.Context, topic string) (*pubsub.Topic, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGCloudSubscription ¶ added in v0.3.0
func NewGCloudTopic ¶
func NewInMemoryTopic ¶
func NewRabbitTopic ¶
Create a new topic on RabbitMQ. This requires the environment variable `RABBIT_SERVER_URL` to be set.
func OpenSubscription ¶ added in v0.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.