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-02 20:20:17 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
220d438fe7f5c1dacee277785da3ad45b3a22413
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: 162ms Template: 2ms
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