pubsub

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGCloudTopic

func NewGCloudTopic(ctx context.Context, project string, topic string) (*pubsub.Topic, error)

func NewInMemoryTopic

func NewInMemoryTopic(ctx context.Context, topic string) (*pubsub.Topic, error)

func NewRabbitTopic

func NewRabbitTopic(ctx context.Context, topic string) (*pubsub.Topic, error)

Create a new topic on RabbitMQ. This requires the environment variable `RABBIT_SERVER_URL` to be set.

func OpenTopic

func OpenTopic(ctx context.Context, topic string) (*pubsub.Topic, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL