server

package
v0.7.21 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, addr string,
	nrApp *newrelic.Application, logger *zap.Logger,
	shieldClient shieldv1beta1.ShieldServiceClient,
	optimusClient optimusv1.OptimusClientBuilder,
	entropyClient entropyv1beta1.ResourceServiceClient,
	sirenClient sirenv1beta1.SirenServiceClient,
	compassClient compassv1beta1grpc.CompassServiceClient,
	gcsClient gcs.BlobStorageClient,
	odinAddr string,
	stencilAddr string,
	wardenClient *warden.Client,
	dlqConfig dlqv1.DlqJobConfig,
) error

Serve initialises all the 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
dlq
iam

Jump to

Keyboard shortcuts

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