page.pb.go 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: page.proto
  3. /*
  4. Package cache is a generated protocol buffer package.
  5. It is generated from these files:
  6. page.proto
  7. It has these top-level messages:
  8. ResponseCache
  9. HeaderValue
  10. */
  11. package cache
  12. import proto "github.com/gogo/protobuf/proto"
  13. import fmt "fmt"
  14. import math "math"
  15. import _ "github.com/gogo/protobuf/gogoproto"
  16. // Reference imports to suppress errors if they are not otherwise used.
  17. var _ = proto.Marshal
  18. var _ = fmt.Errorf
  19. var _ = math.Inf
  20. // This is a compile-time assertion to ensure that this generated file
  21. // is compatible with the proto package it is being compiled against.
  22. // A compilation error at this line likely means your copy of the
  23. // proto package needs to be updated.
  24. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  25. type ResponseCache struct {
  26. Status int32 `protobuf:"varint,1,opt,name=Status,proto3" json:"Status,omitempty"`
  27. Header map[string]*HeaderValue `protobuf:"bytes,2,rep,name=Header" json:"Header,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  28. Data []byte `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
  29. }
  30. func (m *ResponseCache) Reset() { *m = ResponseCache{} }
  31. func (m *ResponseCache) String() string { return proto.CompactTextString(m) }
  32. func (*ResponseCache) ProtoMessage() {}
  33. func (*ResponseCache) Descriptor() ([]byte, []int) { return fileDescriptorPage, []int{0} }
  34. func (m *ResponseCache) GetStatus() int32 {
  35. if m != nil {
  36. return m.Status
  37. }
  38. return 0
  39. }
  40. func (m *ResponseCache) GetHeader() map[string]*HeaderValue {
  41. if m != nil {
  42. return m.Header
  43. }
  44. return nil
  45. }
  46. func (m *ResponseCache) GetData() []byte {
  47. if m != nil {
  48. return m.Data
  49. }
  50. return nil
  51. }
  52. type HeaderValue struct {
  53. Value []string `protobuf:"bytes,1,rep,name=Value" json:"Value,omitempty"`
  54. }
  55. func (m *HeaderValue) Reset() { *m = HeaderValue{} }
  56. func (m *HeaderValue) String() string { return proto.CompactTextString(m) }
  57. func (*HeaderValue) ProtoMessage() {}
  58. func (*HeaderValue) Descriptor() ([]byte, []int) { return fileDescriptorPage, []int{1} }
  59. func (m *HeaderValue) GetValue() []string {
  60. if m != nil {
  61. return m.Value
  62. }
  63. return nil
  64. }
  65. func init() {
  66. proto.RegisterType((*ResponseCache)(nil), "cache.responseCache")
  67. proto.RegisterType((*HeaderValue)(nil), "cache.headerValue")
  68. }
  69. func init() { proto.RegisterFile("page.proto", fileDescriptorPage) }
  70. var fileDescriptorPage = []byte{
  71. // 231 bytes of a gzipped FileDescriptorProto
  72. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0x41, 0x4b, 0xc4, 0x30,
  73. 0x10, 0x85, 0x49, 0x6b, 0x0b, 0x3b, 0x55, 0x90, 0x41, 0x24, 0xec, 0x29, 0xac, 0x97, 0x5c, 0xcc,
  74. 0xc2, 0x7a, 0x59, 0xbc, 0xaa, 0xe0, 0xc5, 0x4b, 0x04, 0xef, 0x69, 0x1d, 0x5b, 0x51, 0x37, 0xa5,
  75. 0x4d, 0x84, 0xfd, 0x7f, 0xfe, 0x30, 0xe9, 0xa4, 0x87, 0xee, 0xed, 0x3d, 0xde, 0xf7, 0xe6, 0x31,
  76. 0x00, 0xbd, 0x6b, 0xc9, 0xf4, 0x83, 0x0f, 0x1e, 0x8b, 0xc6, 0x35, 0x1d, 0xad, 0x6f, 0xdb, 0xcf,
  77. 0xd0, 0xc5, 0xda, 0x34, 0xfe, 0x67, 0xdb, 0xfa, 0xd6, 0x6f, 0x39, 0xad, 0xe3, 0x07, 0x3b, 0x36,
  78. 0xac, 0x52, 0x6b, 0xf3, 0x27, 0xe0, 0x62, 0xa0, 0xb1, 0xf7, 0x87, 0x91, 0x1e, 0xa6, 0x03, 0x78,
  79. 0x0d, 0xe5, 0x6b, 0x70, 0x21, 0x8e, 0x52, 0x28, 0xa1, 0x0b, 0x3b, 0x3b, 0xdc, 0x43, 0xf9, 0x4c,
  80. 0xee, 0x9d, 0x06, 0x99, 0xa9, 0x5c, 0x57, 0x3b, 0x65, 0x78, 0xd0, 0x9c, 0xb4, 0x4d, 0x42, 0x9e,
  81. 0x0e, 0x61, 0x38, 0xda, 0x99, 0x47, 0x84, 0xb3, 0x47, 0x17, 0x9c, 0xcc, 0x95, 0xd0, 0xe7, 0x96,
  82. 0xf5, 0xfa, 0x05, 0xaa, 0x05, 0x8a, 0x97, 0x90, 0x7f, 0xd1, 0x91, 0x17, 0x57, 0x76, 0x92, 0xa8,
  83. 0xa1, 0xf8, 0x75, 0xdf, 0x91, 0x64, 0xa6, 0x84, 0xae, 0x76, 0x38, 0xaf, 0x75, 0x5c, 0x7a, 0x9b,
  84. 0x12, 0x9b, 0x80, 0xfb, 0x6c, 0x2f, 0x36, 0x37, 0x50, 0x2d, 0x12, 0xbc, 0x82, 0x82, 0x85, 0x14,
  85. 0x2a, 0xd7, 0x2b, 0x9b, 0x4c, 0x5d, 0xf2, 0xcb, 0x77, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x6f,
  86. 0x05, 0xcf, 0xb0, 0x36, 0x01, 0x00, 0x00,
  87. }