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, entropyClient entropyv1beta1.ResourceServiceClient, sirenClient sirenv1beta1.SirenServiceClient, ) 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.
Click to show internal directories.
Click to hide internal directories.