opts

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 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 Options

type Options struct {
	Port                 int
	MaxRequests          int
	MaxRequestSize       int64
	MaxChannelNameLength int
	TraceOptions         *trace.Options
	EventOptions         *publish.EventOptions
	MonitoringPort       int
}

Options represents the publish options.

func GetDefaultOptions

func GetDefaultOptions() *Options

GetDefaultOptions returns a default publish options instance.

func ParseFlags

func ParseFlags() *Options

ParseFlags parses the command line flags.

func (*Options) Print

func (options *Options) Print()

Print prints the publish options to the standard output stream.

Jump to

Keyboard shortcuts

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