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
27
Commits
1
Branch
0
Tags
8ef7aea4feb4131cfa21c1b6029ab48ed1e48738
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
白茶清欢
8ef7aea4fe
分离缓存读取与对后端接口的真是请求逻辑
2024-10-09 18:48:33 +08:00
cache
cache接口约束增加定义缓存剩余时间 + 请求预热配置
2024-10-09 18:44:24 +08:00
define
cache接口约束增加定义缓存剩余时间 + 请求预热配置
2024-10-09 18:44:24 +08:00
validate
扩展事件定义
2024-06-01 18:41:26 +08:00
.gitignore
初始化项目
2024-05-24 12:30:20 +08:00
client.go
分离缓存读取与对后端接口的真是请求逻辑
2024-10-09 18:48:33 +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%