go: cloud.google.com/go/pubsub/loadtest Index | Files | Directories

package loadtest

import "cloud.google.com/go/pubsub/loadtest"

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

Package Files

loadtest.go

type PubServer Uses

type PubServer struct {
    ID string
    // contains filtered or unexported fields
}

func (*PubServer) Execute Uses

func (l *PubServer) Execute(ctx context.Context, _ *pb.ExecuteRequest) (*pb.ExecuteResponse, error)

func (*PubServer) Start Uses

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

type SubServer Uses

type SubServer struct {
    // contains filtered or unexported fields
}

func (*SubServer) Execute Uses

func (s *SubServer) Execute(ctx context.Context, _ *pb.ExecuteRequest) (*pb.ExecuteResponse, error)

func (*SubServer) Start Uses

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

Directories

PathSynopsis
cmd
pbPackage google_pubsub_loadtest is a generated protocol buffer package.

Package loadtest imports 13 packages (graph) and is imported by 1 packages. Updated 2017-09-26. Refresh now. Tools for package owners.