loadtest

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

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
	// contains filtered or unexported fields
}

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

func (*PubServer) Execute

Execute executes a request.

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 {
	// contains filtered or unexported fields
}

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

func (*SubServer) Execute

Execute executes the request.

func (*SubServer) Start

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

Start starts the server.

Directories

Path Synopsis
Package google_pubsub_loadtest is a generated protocol buffer package.
Package google_pubsub_loadtest is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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