mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 01:30:25 +08:00
78ea0769fd
* 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
9 lines
172 B
Go
9 lines
172 B
Go
package internal
|
|
|
|
import "net/http"
|
|
|
|
type (
|
|
Interceptor func(r *http.Request) (*http.Request, ResponseHandler)
|
|
ResponseHandler func(resp *http.Response, err error)
|
|
)
|