This website requires JavaScript.
Explore
Help
Sign In
gateway
/
httpclient
Watch
1
Star
0
Fork
0
You've already forked httpclient
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
28
Commits
1
Branch
0
Tags
10a21dc35745a9290e99faa65b17d28ef1db8de7
Go to file
Code
Clone
HTTPS
Tea CLI
Open with VS Code
Open with VSCodium
Open with Intellij IDEA
Download ZIP
Download TAR.GZ
Download BUNDLE
白茶清欢
10a21dc357
http请求支持预热接口数据并缓存
2024-10-09 19:05:38 +08:00
cache
cache接口约束增加定义缓存剩余时间 + 请求预热配置
2024-10-09 18:44:24 +08:00
define
http请求支持预热接口数据并缓存
2024-10-09 19:05:38 +08:00
validate
扩展事件定义
2024-06-01 18:41:26 +08:00
.gitignore
初始化项目
2024-05-24 12:30:20 +08:00
client.go
http请求支持预热接口数据并缓存
2024-10-09 19:05:38 +08:00
go.mod
update go mod
2024-06-06 14:05:40 +08:00
go.sum
update go mod
2024-06-06 14:05:40 +08:00
LICENSE
Initial commit
2024-05-24 12:25:11 +08:00
README.md
完成client的构建
2024-05-31 18:00:24 +08:00
resty.go
支持设置path param value
2024-06-11 16:27:35 +08:00
README.md
httpclient
库作用
对第三方接口发起请求
依赖基础库
resty
配置说明
默认配置
AllowGetMethodPayload : 允许GET请求带Body, 默认值
true
, 如需关闭, 可通过 HttpClient.GetRestyClient().SetAllowGetMethodPayload(false) 关闭
使用方式
Description
http请求库
Readme
76
KiB
Languages
Go
100%