loadtest

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 13 Imported by: 39

Documentation

Overview

Package loadtest implements load testing for pubsub, following the interface defined in https://github.com/GoogleCloudPlatform/pubsub/tree/master/load-test-framework/ .

This package is experimental.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PubServer

type PubServer struct {
	ID string

	pb.UnimplementedLoadtestWorkerServer
	// contains filtered or unexported fields
}

PubServer is a dummy Pub/Sub server for load testing.

func (*PubServer) Start

func (l *PubServer) Start(ctx context.Context, req *pb.StartRequest) (*pb.StartResponse, error)

Start starts the server.

type SubServer

type SubServer struct {
	pb.UnimplementedLoadtestWorkerServer
	// contains filtered or unexported fields
}

SubServer is a dummy Pub/Sub server for load testing.

func (*SubServer) Start

func (s *SubServer) Start(ctx context.Context, req *pb.StartRequest) (*pb.StartResponse, error)

Start starts the server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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