mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-28 13:36:38 +08:00
服务支持fastcgi;路径规则支持匹配后缀
This commit is contained in:
@@ -106,7 +106,7 @@ type CreateHTTPGzipResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
GzipId int64 `protobuf:"varint,1,opt,name=gzipId,proto3" json:"gzipId,omitempty"`
|
||||
HttpGzipId int64 `protobuf:"varint,1,opt,name=httpGzipId,proto3" json:"httpGzipId,omitempty"`
|
||||
}
|
||||
|
||||
func (x *CreateHTTPGzipResponse) Reset() {
|
||||
@@ -141,9 +141,9 @@ func (*CreateHTTPGzipResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_gzip_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *CreateHTTPGzipResponse) GetGzipId() int64 {
|
||||
func (x *CreateHTTPGzipResponse) GetHttpGzipId() int64 {
|
||||
if x != nil {
|
||||
return x.GzipId
|
||||
return x.HttpGzipId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
@@ -154,7 +154,7 @@ type FindEnabledGzipConfigRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
GzipId int64 `protobuf:"varint,1,opt,name=gzipId,proto3" json:"gzipId,omitempty"`
|
||||
HttpGzipId int64 `protobuf:"varint,1,opt,name=httpGzipId,proto3" json:"httpGzipId,omitempty"`
|
||||
}
|
||||
|
||||
func (x *FindEnabledGzipConfigRequest) Reset() {
|
||||
@@ -189,9 +189,9 @@ func (*FindEnabledGzipConfigRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_gzip_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *FindEnabledGzipConfigRequest) GetGzipId() int64 {
|
||||
func (x *FindEnabledGzipConfigRequest) GetHttpGzipId() int64 {
|
||||
if x != nil {
|
||||
return x.GzipId
|
||||
return x.HttpGzipId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
@@ -201,7 +201,7 @@ type FindEnabledGzipConfigResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
GzipJSON []byte `protobuf:"bytes,1,opt,name=gzipJSON,proto3" json:"gzipJSON,omitempty"`
|
||||
HttpGzipJSON []byte `protobuf:"bytes,1,opt,name=httpGzipJSON,proto3" json:"httpGzipJSON,omitempty"`
|
||||
}
|
||||
|
||||
func (x *FindEnabledGzipConfigResponse) Reset() {
|
||||
@@ -236,9 +236,9 @@ func (*FindEnabledGzipConfigResponse) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_gzip_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *FindEnabledGzipConfigResponse) GetGzipJSON() []byte {
|
||||
func (x *FindEnabledGzipConfigResponse) GetHttpGzipJSON() []byte {
|
||||
if x != nil {
|
||||
return x.GzipJSON
|
||||
return x.HttpGzipJSON
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@@ -249,11 +249,11 @@ type UpdateHTTPGzipRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
GzipId int64 `protobuf:"varint,1,opt,name=gzipId,proto3" json:"gzipId,omitempty"`
|
||||
Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
|
||||
MinLength *SizeCapacity `protobuf:"bytes,3,opt,name=minLength,proto3" json:"minLength,omitempty"`
|
||||
MaxLength *SizeCapacity `protobuf:"bytes,4,opt,name=maxLength,proto3" json:"maxLength,omitempty"`
|
||||
CondsJSON []byte `protobuf:"bytes,5,opt,name=condsJSON,proto3" json:"condsJSON,omitempty"`
|
||||
HttpGzipId int64 `protobuf:"varint,1,opt,name=httpGzipId,proto3" json:"httpGzipId,omitempty"`
|
||||
Level int32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
|
||||
MinLength *SizeCapacity `protobuf:"bytes,3,opt,name=minLength,proto3" json:"minLength,omitempty"`
|
||||
MaxLength *SizeCapacity `protobuf:"bytes,4,opt,name=maxLength,proto3" json:"maxLength,omitempty"`
|
||||
CondsJSON []byte `protobuf:"bytes,5,opt,name=condsJSON,proto3" json:"condsJSON,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPGzipRequest) Reset() {
|
||||
@@ -288,9 +288,9 @@ func (*UpdateHTTPGzipRequest) Descriptor() ([]byte, []int) {
|
||||
return file_service_http_gzip_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *UpdateHTTPGzipRequest) GetGzipId() int64 {
|
||||
func (x *UpdateHTTPGzipRequest) GetHttpGzipId() int64 {
|
||||
if x != nil {
|
||||
return x.GzipId
|
||||
return x.HttpGzipId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
@@ -342,20 +342,22 @@ var file_service_http_gzip_proto_rawDesc = []byte{
|
||||
0x70, 0x62, 0x2e, 0x53, 0x69, 0x7a, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x52,
|
||||
0x09, 0x6d, 0x61, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f,
|
||||
0x6e, 0x64, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63,
|
||||
0x6f, 0x6e, 0x64, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x30, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61,
|
||||
0x6f, 0x6e, 0x64, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x38, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x7a, 0x69, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x06, 0x67, 0x7a, 0x69, 0x70, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x1c, 0x46, 0x69,
|
||||
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x47, 0x7a, 0x69, 0x70, 0x43, 0x6f, 0x6e,
|
||||
0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x7a,
|
||||
0x69, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x7a, 0x69, 0x70,
|
||||
0x49, 0x64, 0x22, 0x3b, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x47, 0x7a, 0x69, 0x70, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x47, 0x7a, 0x69, 0x70,
|
||||
0x49, 0x64, 0x22, 0x3e, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x47, 0x7a, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x47, 0x7a, 0x69, 0x70, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x47, 0x7a, 0x69, 0x70,
|
||||
0x49, 0x64, 0x22, 0x43, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x47, 0x7a, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x7a, 0x69, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x67, 0x7a, 0x69, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x22,
|
||||
0xc3, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a,
|
||||
0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x7a, 0x69,
|
||||
0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x7a, 0x69, 0x70, 0x49,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x68, 0x74, 0x74, 0x70, 0x47, 0x7a, 0x69, 0x70, 0x4a,
|
||||
0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x68, 0x74, 0x74, 0x70, 0x47,
|
||||
0x7a, 0x69, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0xcb, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x47, 0x7a, 0x69, 0x70, 0x49, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x47, 0x7a, 0x69, 0x70, 0x49,
|
||||
0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2e, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x4c, 0x65,
|
||||
0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e,
|
||||
|
||||
Reference in New Issue
Block a user