Documentation ¶
Overview ¶
Package golink 连接
Package golink 连接 ¶
Package golink 连接 ¶
Package golink 连接 ¶
Package golink Radius ¶
Package golink 连接
Index ¶
- func Grpc(_ context.Context, chanID uint64, ch chan<- *model.RequestResults, ...)
- func HTTP(ctx context.Context, chanID uint64, ch chan<- *model.RequestResults, ...)
- func Radius(_ context.Context, chanID uint64, ch chan<- *model.RequestResults, ...)
- func WebSocket(_ context.Context, chanID uint64, ch chan<- *model.RequestResults, ...)
- type Req
- type ReqListMany
- type ReqListWeigh
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Grpc ¶
func Grpc(_ context.Context, chanID uint64, ch chan<- *model.RequestResults, totalNumber uint64, wg *sync.WaitGroup, request *model.Request, ws *client.GrpcSocket)
Grpc grpc 接口请求
func HTTP ¶
func HTTP(ctx context.Context, chanID uint64, ch chan<- *model.RequestResults, totalNumber uint64, wg *sync.WaitGroup, request *model.Request)
HTTP 请求
Types ¶
type ReqListMany ¶
type ReqListMany struct {
// contains filtered or unexported fields
}
ReqListMany 接口分步压测
type ReqListWeigh ¶
type ReqListWeigh struct {
// contains filtered or unexported fields
}
ReqListWeigh 接口加权压测
Click to show internal directories.
Click to hide internal directories.