server

package
v0.2.9-rc Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, httpAddr, grpcAddr string, nrApp *newrelic.Application,
	resourceSvc resourcesv1.ResourceService, moduleSvc modulesv1.ModuleService,
) error

Serve initialises all the gRPC+HTTP API routes, starts listening for requests at addr, and blocks until server exits. Server exits gracefully when context is cancelled.

Types

This section is empty.

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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