pubsubv1sdk

package
v0.0.0-...-78a26f1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPubsubServiceClient

func NewPubsubServiceClient(uri string, options ...connect.ClientOption) pubsubv1.PubsubServiceClient

NewPubsubServiceClient creates a new the google.pubsub.v1.PubsubServiceClient client.

Types

type PubsubServiceClient

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

PubsubServiceClient is a client for the google.pubsub.v1.PubsubService service.

func (*PubsubServiceClient) PushPubsubMessage

func (x *PubsubServiceClient) PushPubsubMessage(ctx context.Context, m *pubsubv1.PubsubMessage) error

PushPubsubMessage implements google.pubsub.v1.PubsubServiceClient.

type PubsubServiceHandler

type PubsubServiceHandler struct {
	// PubsubService contains an instance of google.pubsub.v1.PubsubService handler.
	PubsubService pubsubv1.PubsubService
}

PubsubServiceHandler represents an instance of google.pubsub.v1.PubsubServiceHandler handler.

func (*PubsubServiceHandler) Mount

func (x *PubsubServiceHandler) Mount(r chi.Router)

Mount mounts the controller to a given router.

func (*PubsubServiceHandler) PushPubsubMessage

PushMessage implements MessageServiceHandler.

Jump to

Keyboard shortcuts

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