grpc

package
v1.6.0 Latest Latest
Warning

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

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

README

gRPC api

Testing

You can trigger a gRPC call by doing this:

grpcurl -plaintext -format text -d 'cluster_name: "test", run_id: "id"' 127.0.0.1:9000 grpc.API.Ingest

Testing rehydrating of all latest scans:

grpcurl -plaintext -format text 127.0.0.1:9000 grpc.API.RehydrateLatest

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(ctx context.Context, api *api.IngestorAPI) error

Listen starts the GRPC server with the generic api implementation It uses the config from the passed API for address and ports

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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