type Req struct {
URL string `map:"url" validate:"required"`
Method string `map:"method" validate:"required"`
Proto string `map:"ver"`
Header map[string]string `map:"headers"`
Body string `map:"body"` // Changed from []byte to string for text data// contains filtered or unexported fields
}
type Res struct {
Status string `map:"status"`
Code int `map:"code"`
Header map[string]string `map:"headers"`
Body string `map:"body"` // Changed from []byte to string for text data FilePath string `map:"filepath"` // New field for binary file paths}