inspector

package
Version: v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

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
}

func NewClient

func NewClient(firestoreClient *firestore.Client, pubSubRootCollection string) (*Client, error)

func (*Client) AckMessage

func (c *Client) AckMessage(ctx context.Context, topic, subscription, uuid string) error

func (*Client) GetSubscriptionMessages

func (c *Client) GetSubscriptionMessages(ctx context.Context, topic, subscription string) (message.Messages, error)

func (*Client) GetTopicSubscriptions

func (c *Client) GetTopicSubscriptions(ctx context.Context, topic string) ([]string, error)

func (*Client) GetTopics

func (c *Client) GetTopics(ctx context.Context) ([]string, error)

func (*Client) PurgeSubscription

func (c *Client) PurgeSubscription(ctx context.Context, topic, subscription string) error

Source Files

Jump to

Keyboard shortcuts

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