restx

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *resty.Client

New 创建带有统一默认配置的 resty 客户端。 客户端支持环境代理、HTTP/2、连接池和 Cookie Jar,请求总超时为五分钟。 调试模式下启用请求调试日志,resty 内部日志统一由 logx 输出。

Types

type Request

type Request = resty.Request

Request 是 resty.Request 的类型别名。

Jump to

Keyboard shortcuts

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