Logo
Explore Help
Register Sign In
zlei6/go-zero
1
0
Fork 0
You've already forked go-zero
mirror of https://github.com/zeromicro/go-zero.git synced 2026-06-03 04:30:19 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
9d2a1b8b0ae8751669b4334032b23df20a690a3d
go-zero/rest/httpc/internal/interceptor.go

9 lines
172 B
Go
Raw Normal View History

feat: add rest/httpc to make http requests governacible (#1638) * feat: change x-trace-id to traceparent to follow opentelemetry * feat: add rest/httpc to make http requests governacible * chore: remove blank lines
2022-03-13 14:11:14 +08:00
package internal
import "net/http"
type (
Interceptor func(r *http.Request) (*http.Request, ResponseHandler)
feat: simplify httpc (#1748) * feat: simplify httpc * chore: fix lint errors * chore: fix log url issue * chore: fix log url issue * refactor: handle resp & err in ResponseHandler * chore: remove unnecessary var names in return clause
2022-04-03 14:32:27 +08:00
ResponseHandler func(resp *http.Response, err error)
feat: add rest/httpc to make http requests governacible (#1638) * feat: change x-trace-id to traceparent to follow opentelemetry * feat: add rest/httpc to make http requests governacible * chore: remove blank lines
2022-03-13 14:11:14 +08:00
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 261ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API