google

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidCredentials = errors.New("your google pub/sub credentials are invalid. please verify you're providing the correct credentials")

Functions

This section is empty.

Types

type Google

type Google struct {
	Cfg *datastore.GooglePubSubConfig
	// contains filtered or unexported fields
}

func New

func New(source *datastore.Source, handler datastore.PubSubHandler, log log.StdLogger) *Google

func (*Google) Consume

func (g *Google) Consume()

func (*Google) Start

func (g *Google) Start()

func (*Google) Stop

func (g *Google) Stop()

func (*Google) Verify

func (g *Google) Verify() error

Verify ensures the pub sub credentials are valid

Jump to

Keyboard shortcuts

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