benchmark

package
v0.0.0-...-a3b107b Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaBenchmark

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

func NewKafkaBenchmark

func NewKafkaBenchmark(urls []string, topic string, payloadSize uint) *KafkaBenchmark

func (*KafkaBenchmark) Errors

func (k *KafkaBenchmark) Errors() uint

func (*KafkaBenchmark) Recv

func (k *KafkaBenchmark) Recv() <-chan []byte

func (*KafkaBenchmark) Send

func (k *KafkaBenchmark) Send() error

func (*KafkaBenchmark) SendDone

func (k *KafkaBenchmark) SendDone() <-chan bool

func (*KafkaBenchmark) Setup

func (k *KafkaBenchmark) Setup(consumer bool, numMsgs uint) error

type NATSBenchmark

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

func NewNATSBenchmark

func NewNATSBenchmark(url, subject string, payloadSize uint) *NATSBenchmark

func (*NATSBenchmark) Errors

func (n *NATSBenchmark) Errors() uint

func (*NATSBenchmark) Recv

func (n *NATSBenchmark) Recv() <-chan []byte

func (*NATSBenchmark) Send

func (n *NATSBenchmark) Send() error

func (*NATSBenchmark) SendDone

func (n *NATSBenchmark) SendDone() <-chan bool

func (*NATSBenchmark) Setup

func (n *NATSBenchmark) Setup(consumer bool, numMsgs uint) error

Jump to

Keyboard shortcuts

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