client

package
v0.0.0-...-25f3c82 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 11 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 New

func New(config Config) *Client

func (*Client) Run

func (c *Client) Run(ctx context.Context) Result

type Config

type Config struct {
	NatsURL              string
	Approach             consumer.Approach
	NumRealms            int
	NumConsumers         int
	NumRealmsPerConsumer int
	Suffixes             []string
}

func (*Config) String

func (c *Config) String() string

type Result

type Result struct {
	ConsumedMessages int
	Elapsed          time.Duration
}

func (*Result) String

func (r *Result) String() string

Jump to

Keyboard shortcuts

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