server

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opts RunOptions)

Run runs the aggregator server.

Types

type AdminOption added in v0.15.6

type AdminOption func(opts serve.Options) (serve.Options, error)

AdminOption is an additional option to apply to the aggregator server.

type RunOptions

type RunOptions struct {
	// Config is the aggregator configuration.
	Config config.Configuration

	// AdminOptions are additional options to apply to the aggregator server.
	AdminOptions []AdminOption

	// CustomBuildTags are additional tags to be added to the instrument build
	// reporter.
	CustomBuildTags map[string]string

	// InterruptCh is a programmatic interrupt channel to supply to
	// interrupt and shutdown the server.
	InterruptCh <-chan error

	// ShutdownCh is an optional channel to supply if interested in receiving
	// a notification that the server has shutdown.
	ShutdownCh chan<- struct{}
}

RunOptions are the server options for running the aggregator server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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