pubsub

package
v0.0.0-...-ae0e7a4 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package pubsub provides a pubsub client

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client pubsub client connection

func NewClient

func NewClient(log *zap.Logger, auth *domain.AuthService) *Client

NewClient creates a new pubsub client

func (*Client) Subscribe

func (c *Client) Subscribe(ctx context.Context) error

Subscribe subscribes to a topic

type Message

type Message struct{}

Message pubsub message

Jump to

Keyboard shortcuts

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