pubsub

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithoutCancel

func WithoutCancel(ctx context.Context) context.Context

Types

type Client

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

func New

func New(ctx context.Context, project string, opts ...option.ClientOption) *Client

func (*Client) Close

func (c *Client) Close()

func (*Client) Topic

func (c *Client) Topic(id string) Topic

type Topic

type Topic interface {
	Publish(ctx context.Context, event string, value interface{})
}

Jump to

Keyboard shortcuts

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