examples

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

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExamplesConfig = struct {
	AeronPrefix     *string
	ProfilerEnabled *bool
	DriverTo        *int64
	StreamID        *int
	Channel         *string
	Messages        *int
	Size            *int
	LoggingOn       *bool
}{
	flag.String("p", aeron.DefaultAeronDir, "root directory for aeron driver file"),
	flag.Bool("prof", false, "enable CPU profiling"),
	flag.Int64("to", 10000, "driver liveliness timeout in ms"),
	flag.Int("sid", 10, "default streamId to use"),
	flag.String("chan", "aeron:udp?endpoint=localhost:40123", "default channel to subscribe to"),
	flag.Int("m", 1000000, "number of messages to send"),
	flag.Int("len", 256, "messages size"),
	flag.Bool("l", false, "enable logging"),
}
View Source
var PingPongConfig = struct {
	PongStreamID *int
	PingStreamID *int
	PongChannel  *string
	PingChannel  *string
}{
	flag.Int("S", 11, "streamId to use for pong"),
	flag.Int("s", 10, "streamId to use for ping"),
	flag.String("C", "aeron:ipc", "pong channel"),
	flag.String("c", "aeron:ipc", "ping channel"),
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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