client

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2017 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

test project main.go

Index

Constants

View Source
const (
	ShortConn = iota
	LongConn
)
View Source
const (
	SuccessRet = iota
	UnexpectedRet
	ConnErrRet
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Evpp

type Evpp struct {
	//N is the total number of requests to make
	N int

	//the number of concurrent short connection workers to run.
	ShortConnectionWorkerNum int

	//the numbner of concurrent long connection workers to run.
	LongConnectionWorkerNum int

	//rate limit
	Qps int

	//address of server
	Address *net.TCPAddr

	//send Buf Size
	BufSize int

	//fill the send buffer
	RandData []byte
	// contains filtered or unexported fields
}

func (*Evpp) Run

func (e *Evpp) Run()

Jump to

Keyboard shortcuts

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