forked from sohlich/nats-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
protobuf.pb.go
97 lines (83 loc) · 5.29 KB
/
protobuf.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// Code generated by protoc-gen-go.
// source: protobuf.proto
// DO NOT EDIT!
/*
Package natsproxy is a generated protocol buffer package.
It is generated from these files:
protobuf.proto
It has these top-level messages:
Values
Request
Response
*/
package natsproxy
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
const _ = proto.ProtoPackageIsVersion1
type Values struct {
Arr []string `protobuf:"bytes,1,rep,name=arr" json:"arr,omitempty"`
}
func (m *Values) Reset() { *m = Values{} }
func (m *Values) String() string { return proto.CompactTextString(m) }
func (*Values) ProtoMessage() {}
func (*Values) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
type Request struct {
URL string `protobuf:"bytes,1,opt,name=URL,json=uRL" json:"URL,omitempty"`
Method string `protobuf:"bytes,2,opt,name=Method,json=method" json:"Method,omitempty"`
RemoteAddr string `protobuf:"bytes,3,opt,name=RemoteAddr,json=remoteAddr" json:"RemoteAddr,omitempty"`
Body []byte `protobuf:"bytes,4,opt,name=Body,json=body,proto3" json:"Body,omitempty"`
Form map[string]*Values `protobuf:"bytes,5,rep,name=Form,json=form" json:"Form,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Header map[string]*Values `protobuf:"bytes,6,rep,name=Header,json=header" json:"Header,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
WebSocketID string `protobuf:"bytes,7,opt,name=WebSocketID,json=webSocketID" json:"WebSocketID,omitempty"`
}
func (m *Request) Reset() { *m = Request{} }
func (m *Request) String() string { return proto.CompactTextString(m) }
func (*Request) ProtoMessage() {}
func (*Request) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
type Response struct {
StatusCode int32 `protobuf:"varint,1,opt,name=StatusCode,json=statusCode" json:"StatusCode,omitempty"`
Header map[string]*Values `protobuf:"bytes,2,rep,name=Header,json=header" json:"Header,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Body []byte `protobuf:"bytes,3,opt,name=Body,json=body,proto3" json:"Body,omitempty"`
DoUpgrade bool `protobuf:"varint,4,opt,name=DoUpgrade,json=doUpgrade" json:"DoUpgrade,omitempty"`
}
func (m *Response) Reset() { *m = Response{} }
func (m *Response) String() string { return proto.CompactTextString(m) }
func (*Response) ProtoMessage() {}
func (*Response) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func init() {
proto.RegisterType((*Values)(nil), "Values")
proto.RegisterType((*Request)(nil), "Request")
proto.RegisterType((*Response)(nil), "Response")
}
var fileDescriptor0 = []byte{
// 349 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x92, 0xbf, 0x4e, 0xc3, 0x30,
0x10, 0xc6, 0x95, 0x3f, 0x75, 0x9b, 0x0b, 0x20, 0x64, 0x01, 0xb2, 0x2a, 0x40, 0x55, 0x07, 0xc4,
0x00, 0x19, 0xca, 0x82, 0x98, 0xa0, 0x14, 0x54, 0xa4, 0xb2, 0xb8, 0x2a, 0x48, 0x6c, 0x09, 0x76,
0xa9, 0x54, 0x5a, 0x07, 0xc7, 0x01, 0xf2, 0x94, 0x3c, 0x05, 0xef, 0x81, 0xed, 0x90, 0xd0, 0x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