internal

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallEcho

func CallEcho(octx *context.T, server string, payloadSize int, duration time.Duration) uint64

CallEcho calls 'Echo' method with the given payload size for the given time duration and returns the number of iterations.

func CallSum

func CallSum(ctx *context.T, server string, maxPayloadSize int, stats *stress.SumStats)

CallSum calls 'Sum' method with a randomly generated payload.

func CallSumStream

func CallSumStream(ctx *context.T, server string, maxChunkCnt, maxPayloadSize int, stats *stress.SumStats)

CallSumStream calls 'SumStream' method. Each iteration sends up to 'maxChunkCnt' chunks on the stream and receives the same number of sums back.

func NewService

func NewService() (stress.StressServerStub, <-chan struct{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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