pubsub

package
v0.0.0-...-a993ea2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Poller

type Poller struct {
	producer.Producer
	ResultChan chan []*producer.Message
	ErrChan    chan error
	// contains filtered or unexported fields
}

func NewPoller

func NewPoller(ctx context.Context, projectID string, subscriptionName string, p producer.Producer) (*Poller, error)

func (*Poller) Close

func (p *Poller) Close()

func (*Poller) Poll

func (p *Poller) Poll(ctx context.Context) error

Jump to

Keyboard shortcuts

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