dupbench

package
v0.0.0-...-2d217bc Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package dupbench contains shared code.

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 publishes batches of messages to Pub/Sub.

func ParseClient

func ParseClient() (*Client, error)

ParseClient parses command line arguments and returns a configured client.

func (*Client) Close

func (c *Client) Close() error

Close flushes messages from the topic and stops the pub/sub client.

func (*Client) PublishBatch

func (c *Client) PublishBatch() error

PublishBatch publishes one batch of messages.

Jump to

Keyboard shortcuts

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