queue

package
v0.0.0-...-cf4d00b Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultPublisher

type DefaultPublisher struct {
	// contains filtered or unexported fields
}

func NewDefaultPublisher

func NewDefaultPublisher(client *pubsub.Client) DefaultPublisher

func (DefaultPublisher) Publisher

func (p DefaultPublisher) Publisher(ctx context.Context, topic string, data []byte)

type Publisher

type Publisher interface {
	Publisher(ctx context.Context, topic string, data []byte)
}

Jump to

Keyboard shortcuts

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