proxy

package
v0.0.0-...-91bb7de Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageMutateFunc

type MessageMutateFunc func(*pubsub.Message) (*pubsub.Message, error)

type PubSubProxy

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

func New

func New(topic *pubsub.Topic, subscription *pubsub.Subscription) *PubSubProxy

func (*PubSubProxy) Listen

func (proxy *PubSubProxy) Listen(ctx context.Context, preprocess MessageMutateFunc) error

Jump to

Keyboard shortcuts

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