|
@@ -4,7 +4,7 @@
|
|
|
// protoc v4.23.3
|
|
|
// source: curl.proto
|
|
|
|
|
|
-package pb
|
|
|
+package curl
|
|
|
|
|
|
import (
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
@@ -28,8 +28,8 @@ type CurlRequest struct {
|
|
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
|
Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
|
|
|
- UA string `protobuf:"bytes,3,opt,name=UA,proto3" json:"UA,omitempty"`
|
|
|
- UseHeadMethod bool `protobuf:"varint,4,opt,name=UseHeadMethod,proto3" json:"UseHeadMethod,omitempty"`
|
|
|
+ Ua string `protobuf:"bytes,3,opt,name=ua,proto3" json:"ua,omitempty"`
|
|
|
+ UseHeadMethod bool `protobuf:"varint,4,opt,name=useHeadMethod,proto3" json:"useHeadMethod,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (x *CurlRequest) Reset() {
|
|
@@ -78,9 +78,9 @@ func (x *CurlRequest) GetIp() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *CurlRequest) GetUA() string {
|
|
|
+func (x *CurlRequest) GetUa() string {
|
|
|
if x != nil {
|
|
|
- return x.UA
|
|
|
+ return x.Ua
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
@@ -163,9 +163,9 @@ var file_curl_proto_rawDesc = []byte{
|
|
|
0x72, 0x6c, 0x22, 0x65, 0x0a, 0x0b, 0x43, 0x75, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
|
|
0x75, 0x72, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
- 0x02, 0x69, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x55, 0x41, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
- 0x02, 0x55, 0x41, 0x12, 0x24, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x4d, 0x65,
|
|
|
- 0x74, 0x68, 0x6f, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x55, 0x73, 0x65, 0x48,
|
|
|
+ 0x02, 0x69, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x75, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x02, 0x75, 0x61, 0x12, 0x24, 0x0a, 0x0d, 0x75, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x4d, 0x65,
|
|
|
+ 0x74, 0x68, 0x6f, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x75, 0x73, 0x65, 0x48,
|
|
|
0x65, 0x61, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x22, 0x5b, 0x0a, 0x09, 0x43, 0x75, 0x72,
|
|
|
0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01,
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f,
|
|
@@ -177,10 +177,10 @@ var file_curl_proto_rawDesc = []byte{
|
|
|
0x6c, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x50, 0x61, 0x72, 0x61,
|
|
|
0x6d, 0x12, 0x11, 0x2e, 0x63, 0x75, 0x72, 0x6c, 0x2e, 0x43, 0x75, 0x72, 0x6c, 0x52, 0x65, 0x71,
|
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x63, 0x75, 0x72, 0x6c, 0x2e, 0x43, 0x75, 0x72, 0x6c,
|
|
|
- 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x25, 0x0a, 0x0a, 0x69, 0x6f, 0x2e, 0x67, 0x72,
|
|
|
- 0x70, 0x63, 0x2e, 0x70, 0x62, 0x42, 0x0f, 0x63, 0x75, 0x72, 0x6c, 0x57, 0x69, 0x74, 0x68, 0x52,
|
|
|
- 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x50, 0x01, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06,
|
|
|
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x42, 0x29, 0x0a, 0x0c, 0x69, 0x6f, 0x2e, 0x67, 0x72,
|
|
|
+ 0x70, 0x63, 0x2e, 0x63, 0x75, 0x72, 0x6c, 0x42, 0x0f, 0x63, 0x75, 0x72, 0x6c, 0x57, 0x69, 0x74,
|
|
|
+ 0x68, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x50, 0x01, 0x5a, 0x06, 0x2e, 0x2f, 0x63, 0x75,
|
|
|
+ 0x72, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|