mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-27 12:28:40 +08:00
3279a7ef0f
* feat: change x-trace-id to traceparent to follow opentelemetry * feat: add rest/httpc to make http requests governacible * chore: remove blank lines
9 lines
156 B
Go
9 lines
156 B
Go
package internal
|
|
|
|
import "net/http"
|
|
|
|
type (
|
|
Interceptor func(r *http.Request) (*http.Request, ResponseHandler)
|
|
ResponseHandler func(*http.Response)
|
|
)
|