events

package
v0.0.0-...-b3f5cd1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrServiceNotConfigured ...
	ErrServiceNotConfigured = errors.New("the pubsub client was not configured with a projectID")
)

Functions

This section is empty.

Types

type Service

type Service interface {
	Publish(ctx context.Context, topicID string, data []byte) (id string, err error)
	Close()
}

Service ...

func NewService

func NewService(ctx context.Context, projectID string) (Service, error)

NewService ...

Jump to

Keyboard shortcuts

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