pubsub

package
v0.0.0-...-dfea14c Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCPPubSub

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

GCPPubSub is an input/output binding for GCP Pub Sub

func NewGCPPubSub

func NewGCPPubSub() *GCPPubSub

NewGCPPubSub returns a new GCPPubSub instance

func (*GCPPubSub) Init

func (g *GCPPubSub) Init(metadata bindings.Metadata) error

Init parses metadata and creates a new Pub Sub client

func (*GCPPubSub) Read

func (g *GCPPubSub) Read(handler func(*bindings.ReadResponse) error) error

func (*GCPPubSub) Write

func (g *GCPPubSub) Write(req *bindings.WriteRequest) error

Jump to

Keyboard shortcuts

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