PubServer is a dummy Pub/Sub server for load testing.
type PubServer struct { ID string pb.UnimplementedLoadtestWorkerServer // contains filtered or unexported fields }
func (l *PubServer) Start(ctx context.Context, req *pb.StartRequest) (*pb.StartResponse, error)
Start starts the server.
SubServer is a dummy Pub/Sub server for load testing.
type SubServer struct { pb.UnimplementedLoadtestWorkerServer // contains filtered or unexported fields }
func (s *SubServer) Start(ctx context.Context, req *pb.StartRequest) (*pb.StartResponse, error)
Start starts the server.