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 }
Click to show internal directories.
Click to hide internal directories.