规划mesh请求的框架结构, 细节待完善
This commit is contained in:
@ -7,12 +7,15 @@
|
||||
// Date : 2024-05-24 17:09
|
||||
package define
|
||||
|
||||
import "context"
|
||||
|
||||
// Request 请求配置
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 17:10 2024/5/24
|
||||
type Request struct {
|
||||
Ctx context.Context `json:"-"` // 请求上下文
|
||||
PathParam map[string]string `json:"path_param"` // 替换url中的占位符
|
||||
Body map[string]any `json:"body"` // 请求Body
|
||||
Header map[string]string `json:"header"` // 请求Header
|
||||
|
Reference in New Issue
Block a user