examples

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = struct {
	RequestStream   *int
	RequestChannel  *string
	ResponseStream  *int
	ResponseChannel *string
	SampleStream    *int
	SampleChannel   *string
	AeronPrefix     *string
	ProfilerEnabled *bool
	DriverTimeout   *int64
	Messages        *int
	Payload         *int
	Verbose         *bool
}{
	flag.Int("requeststream", 10, "default request control stream to use"),
	flag.String("requestchannel", "aeron:udp?endpoint=localhost:8010", "default request control channel to publish to"),
	flag.Int("responsestream", 21, "default response control stream to use"),
	flag.String("responsechannel", "aeron:udp?endpoint=localhost:8020", "default response control channel to publish to"),
	flag.Int("samplestream", 1001, "default response control stream to use"),
	flag.String("samplechannel", "aeron:udp?endpoint=localhost:20121", "default response control channel to publish to"),
	flag.String("prefix", aeron.DefaultAeronDir+"/aeron-"+aeron.UserName, "root directory for aeron driver file"),
	flag.Bool("profile", false, "enable CPU profiling"),
	flag.Int64("timeout", 10000, "driver liveliness timeout in ms"),
	flag.Int("messages", 100, "number of messages to send/receive"),
	flag.Int("payload", 256, "messages size"),
	flag.Bool("verbose", false, "enable debug logging"),
}

Config defaults

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
An example recorded publisher
An example recorded publisher
An example replayed subscriber
An example replayed subscriber

Jump to

Keyboard shortcuts

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