req

package
v0.0.0-...-06f9d85 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

https://req.cool/

Index

Constants

This section is empty.

Variables

View Source
var (
	// 创建客户端
	C = req.C
)

Functions

This section is empty.

Types

type Client

type Client = req.Client

客户端 R() 创建请求 SetProxyURL() 设置代理

type Request

type Request = req.Request

请求 Get() 发起get请求 SetHeaders() 设置请求头 SetQueryParam() 设置查询字符串 SetSuccessResult() 成功响应体

type Response

type Response = req.Response

响应 GetStatus() 获取响应码及描述 GetStatusCode() 获取响应码 String() 响应体字符串

Jump to

Keyboard shortcuts

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