golink

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package golink 连接

Package golink 连接

Index

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 请求

func Radius

func Radius(_ context.Context, chanID uint64, ch chan<- *model.RequestResults, totalNumber uint64, wg *sync.WaitGroup,
	request *model.Request)

Radius grpc 接口请求

func WebSocket

func WebSocket(_ context.Context, chanID uint64, ch chan<- *model.RequestResults, totalNumber uint64,
	wg *sync.WaitGroup, request *model.Request, ws *client.WebSocket)

WebSocket webSocket go link

Types

type Req

type Req struct {
	// contains filtered or unexported fields
}

Req req

type ReqListMany

type ReqListMany struct {
	// contains filtered or unexported fields
}

ReqListMany 接口分步压测

type ReqListWeigh

type ReqListWeigh struct {
	// contains filtered or unexported fields
}

ReqListWeigh 接口加权压测

Jump to

Keyboard shortcuts

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