opts

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 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
	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