pubsub

package
v0.0.0-...-c4b140d Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(projectId string, opt ...option.ClientOption) *pubsub.Client

Types

type ContactSourceDeletedPublisher

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

func NewContactSourceDeletedPublisher

func NewContactSourceDeletedPublisher(topic *pubsub.Topic) *ContactSourceDeletedPublisher

func (*ContactSourceDeletedPublisher) Publish

func (publisher *ContactSourceDeletedPublisher) Publish(ctx context.Context, request models.ContactSourceDeleted) (err error)

type PullContactSourcePublisher

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

func NewPullContactSourcePublisher

func NewPullContactSourcePublisher(topic *pubsub.Topic) *PullContactSourcePublisher

func (*PullContactSourcePublisher) Publish

func (publisher *PullContactSourcePublisher) Publish(ctx context.Context, request models.PullContactsRequest) (err error)

Jump to

Keyboard shortcuts

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