publisher

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close() error

Close waits to close all clients.

Types

type Publisher

type Publisher struct {
	*pubsub.Topic
}

Publisher has topic information to publish the pubsub message.

func New

func New(ctx context.Context, project, topic string) (*Publisher, error)

New returns a publisher.

Jump to

Keyboard shortcuts

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