diff --git a/cmd/swapd/rpc/swapclient.pb.go b/looprpc/client.pb.go similarity index 83% rename from cmd/swapd/rpc/swapclient.pb.go rename to looprpc/client.pb.go index 1161199..b3fb77b 100644 --- a/cmd/swapd/rpc/swapclient.pb.go +++ b/looprpc/client.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: swapclient.proto +// source: client.proto package rpc @@ -41,7 +41,7 @@ func (x SwapType) String() string { return proto.EnumName(SwapType_name, int32(x)) } func (SwapType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_swapclient_d9c5a6779b6644af, []int{0} + return fileDescriptor_client_72cc8471063847a6, []int{0} } type SwapState int32 @@ -86,7 +86,7 @@ func (x SwapState) String() string { return proto.EnumName(SwapState_name, int32(x)) } func (SwapState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_swapclient_d9c5a6779b6644af, []int{1} + return fileDescriptor_client_72cc8471063847a6, []int{1} } type UnchargeRequest struct { @@ -145,7 +145,7 @@ func (m *UnchargeRequest) Reset() { *m = UnchargeRequest{} } func (m *UnchargeRequest) String() string { return proto.CompactTextString(m) } func (*UnchargeRequest) ProtoMessage() {} func (*UnchargeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_swapclient_d9c5a6779b6644af, []int{0} + return fileDescriptor_client_72cc8471063847a6, []int{0} } func (m *UnchargeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UnchargeRequest.Unmarshal(m, b) @@ -235,7 +235,7 @@ func (m *SwapResponse) Reset() { *m = SwapResponse{} } func (m *SwapResponse) String() string { return proto.CompactTextString(m) } func (*SwapResponse) ProtoMessage() {} func (*SwapResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_swapclient_d9c5a6779b6644af, []int{1} + return fileDescriptor_client_72cc8471063847a6, []int{1} } func (m *SwapResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SwapResponse.Unmarshal(m, b) @@ -272,7 +272,7 @@ func (m *MonitorRequest) Reset() { *m = MonitorRequest{} } func (m *MonitorRequest) String() string { return proto.CompactTextString(m) } func (*MonitorRequest) ProtoMessage() {} func (*MonitorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_swapclient_d9c5a6779b6644af, []int{2} + return fileDescriptor_client_72cc8471063847a6, []int{2} } func (m *MonitorRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MonitorRequest.Unmarshal(m, b) @@ -325,7 +325,7 @@ func (m *SwapStatus) Reset() { *m = SwapStatus{} } func (m *SwapStatus) String() string { return proto.CompactTextString(m) } func (*SwapStatus) ProtoMessage() {} func (*SwapStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_swapclient_d9c5a6779b6644af, []int{3} + return fileDescriptor_client_72cc8471063847a6, []int{3} } func (m *SwapStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SwapStatus.Unmarshal(m, b) @@ -404,7 +404,7 @@ func (m *TermsRequest) Reset() { *m = TermsRequest{} } func (m *TermsRequest) String() string { return proto.CompactTextString(m) } func (*TermsRequest) ProtoMessage() {} func (*TermsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_swapclient_d9c5a6779b6644af, []int{4} + return fileDescriptor_client_72cc8471063847a6, []int{4} } func (m *TermsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TermsRequest.Unmarshal(m, b) @@ -459,7 +459,7 @@ func (m *TermsResponse) Reset() { *m = TermsResponse{} } func (m *TermsResponse) String() string { return proto.CompactTextString(m) } func (*TermsResponse) ProtoMessage() {} func (*TermsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_swapclient_d9c5a6779b6644af, []int{5} + return fileDescriptor_client_72cc8471063847a6, []int{5} } func (m *TermsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TermsResponse.Unmarshal(m, b) @@ -548,7 +548,7 @@ func (m *QuoteRequest) Reset() { *m = QuoteRequest{} } func (m *QuoteRequest) String() string { return proto.CompactTextString(m) } func (*QuoteRequest) ProtoMessage() {} func (*QuoteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_swapclient_d9c5a6779b6644af, []int{6} + return fileDescriptor_client_72cc8471063847a6, []int{6} } func (m *QuoteRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QuoteRequest.Unmarshal(m, b) @@ -596,7 +596,7 @@ func (m *QuoteResponse) Reset() { *m = QuoteResponse{} } func (m *QuoteResponse) String() string { return proto.CompactTextString(m) } func (*QuoteResponse) ProtoMessage() {} func (*QuoteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_swapclient_d9c5a6779b6644af, []int{7} + return fileDescriptor_client_72cc8471063847a6, []int{7} } func (m *QuoteResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QuoteResponse.Unmarshal(m, b) @@ -868,58 +868,58 @@ var _SwapClient_serviceDesc = grpc.ServiceDesc{ ServerStreams: true, }, }, - Metadata: "swapclient.proto", -} - -func init() { proto.RegisterFile("swapclient.proto", fileDescriptor_swapclient_d9c5a6779b6644af) } - -var fileDescriptor_swapclient_d9c5a6779b6644af = []byte{ - // 744 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0x5d, 0x4f, 0xe3, 0x46, - 0x14, 0x25, 0xdf, 0xf1, 0x4d, 0xe2, 0x38, 0x03, 0xad, 0x02, 0x15, 0x55, 0xb0, 0x50, 0x9b, 0xf2, - 0x40, 0x5b, 0x78, 0xea, 0xa3, 0x9b, 0x18, 0x9a, 0x6a, 0x41, 0xec, 0x24, 0xd9, 0x57, 0x6b, 0x48, - 0x06, 0xb0, 0x94, 0xb1, 0xbd, 0x9e, 0x31, 0x24, 0xff, 0x69, 0x1f, 0xf7, 0x57, 0xad, 0xb4, 0xff, - 0x61, 0x35, 0x1f, 0x36, 0x09, 0xda, 0x7d, 0xb3, 0xce, 0x3d, 0xf7, 0x8c, 0xef, 0x99, 0x73, 0x07, - 0x1c, 0xfe, 0x42, 0x92, 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, 0x12, 0x6a, 0x41, 0x63, 0x3a, 0x1f, 0x8d, 0xfc, 0xe9, - 0xd4, 0xa9, 0x20, 0x80, 0xfa, 0x95, 0x37, 0x91, 0x85, 0xea, 0xc5, 0x17, 0xb3, 0x1e, 0x23, 0xf5, - 0x42, 0xa1, 0x4b, 0x68, 0xe6, 0xaf, 0x12, 0x3a, 0x50, 0xb1, 0x7e, 0xf3, 0x48, 0x1d, 0xf5, 0x8a, - 0xb0, 0x17, 0x06, 0xfc, 0x0d, 0x0d, 0xb3, 0x74, 0x68, 0x5f, 0x55, 0x77, 0x57, 0xf0, 0xa8, 0xbb, - 0xb3, 0x1f, 0x19, 0xff, 0xab, 0x84, 0xfe, 0x01, 0xe7, 0x9a, 0x8a, 0x5c, 0x5b, 0xe5, 0x13, 0x69, - 0xe5, 0xed, 0xf0, 0x1e, 0xa1, 0x6d, 0xc8, 0x9c, 0xb6, 0xdb, 0xaa, 0xae, 0xc2, 0xb4, 0x6e, 0x5f, - 0x9c, 0x69, 0xdd, 0xb9, 0xa9, 0xfb, 0xba, 0x7a, 0x80, 0x2f, 0xbf, 0x05, 0x00, 0x00, 0xff, 0xff, - 0x4d, 0x46, 0x11, 0xa8, 0x94, 0x05, 0x00, 0x00, + Metadata: "client.proto", +} + +func init() { proto.RegisterFile("client.proto", fileDescriptor_client_72cc8471063847a6) } + +var fileDescriptor_client_72cc8471063847a6 = []byte{ + // 742 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0x4d, 0x4f, 0xdb, 0x4a, + 0x14, 0x25, 0xdf, 0xf1, 0x8d, 0xe3, 0x38, 0x03, 0xef, 0x29, 0xf0, 0xc4, 0x53, 0xb0, 0xd0, 0x7b, + 0x29, 0x0b, 0xda, 0xc2, 0xaa, 0x4b, 0x37, 0x31, 0x34, 0x55, 0x41, 0x74, 0x92, 0x74, 0x6b, 0x0d, + 0xc9, 0x00, 0x96, 0x32, 0xb6, 0x6b, 0x8f, 0x21, 0xf9, 0x4f, 0x5d, 0xf6, 0x57, 0x55, 0xea, 0x7f, + 0xa8, 0xe6, 0xc3, 0x26, 0x41, 0xed, 0xce, 0x3a, 0xf7, 0xdc, 0x33, 0xbe, 0x67, 0xce, 0x1d, 0x30, + 0xe7, 0xcb, 0x80, 0x86, 0xfc, 0x34, 0x4e, 0x22, 0x1e, 0xa1, 0x4a, 0x12, 0xcf, 0x9d, 0xef, 0x65, + 0xe8, 0xcc, 0xc2, 0xf9, 0x03, 0x49, 0xee, 0x29, 0xa6, 0x5f, 0x33, 0x9a, 0x72, 0x64, 0x43, 0x85, + 0x30, 0xde, 0x2b, 0xf5, 0x4b, 0x83, 0x0a, 0x16, 0x9f, 0x08, 0x41, 0x75, 0x41, 0x53, 0xde, 0x2b, + 0xf7, 0x4b, 0x03, 0x03, 0xcb, 0x6f, 0xf4, 0x1a, 0xf6, 0x18, 0x59, 0xf9, 0xe9, 0x13, 0x89, 0xfd, + 0x24, 0xca, 0x78, 0x10, 0xde, 0xfb, 0x77, 0x94, 0xf6, 0x2a, 0xb2, 0xad, 0xcb, 0xc8, 0x6a, 0xf2, + 0x44, 0x62, 0xac, 0x2a, 0x17, 0x94, 0xa2, 0x73, 0xf8, 0x5b, 0x34, 0xc4, 0x09, 0x8d, 0xc9, 0x7a, + 0xab, 0xa5, 0x2a, 0x5b, 0x76, 0x19, 0x59, 0xdd, 0xc8, 0xe2, 0x46, 0x53, 0x1f, 0xcc, 0xe2, 0x14, + 0x41, 0xad, 0x49, 0x2a, 0x68, 0x75, 0xc1, 0x38, 0x06, 0x6b, 0x43, 0x56, 0xfc, 0x78, 0x5d, 0x72, + 0xcc, 0x42, 0xce, 0x65, 0x1c, 0x39, 0xd0, 0x16, 0x2c, 0x16, 0x84, 0x34, 0x91, 0x42, 0x0d, 0x49, + 0x6a, 0x31, 0xb2, 0xba, 0x12, 0x98, 0x50, 0x7a, 0x05, 0x76, 0xa6, 0xad, 0xf0, 0xe7, 0x0f, 0x24, + 0x0c, 0xe9, 0xb2, 0xd7, 0xec, 0x97, 0x06, 0x55, 0xdc, 0xc9, 0xf1, 0xa1, 0x82, 0x9d, 0x7f, 0xc1, + 0x94, 0xd3, 0xd1, 0x34, 0x8e, 0xc2, 0x94, 0x22, 0x0b, 0xca, 0xc1, 0x42, 0x3a, 0x66, 0xe0, 0x72, + 0xb0, 0x70, 0x6c, 0xb0, 0xae, 0xa2, 0x30, 0xe0, 0x51, 0xa2, 0x4d, 0x75, 0x7e, 0x96, 0x00, 0x44, + 0xcb, 0x84, 0x13, 0x9e, 0xa5, 0xbf, 0xf1, 0x58, 0x49, 0x94, 0x73, 0x09, 0x74, 0x04, 0x55, 0xbe, + 0x8e, 0x95, 0x9f, 0xd6, 0x59, 0xfb, 0x34, 0x89, 0xe7, 0xa7, 0x42, 0x60, 0xba, 0x8e, 0x29, 0x96, + 0x25, 0x74, 0x0c, 0xb5, 0x94, 0x13, 0xae, 0x0c, 0xb4, 0xce, 0xac, 0x82, 0x23, 0x0e, 0xa1, 0x58, + 0x15, 0xd1, 0xff, 0xd0, 0x09, 0xc2, 0x80, 0x07, 0x84, 0x07, 0x51, 0xe8, 0xf3, 0x80, 0xe5, 0x2e, + 0x5a, 0xcf, 0xf0, 0x34, 0x60, 0x14, 0x0d, 0xc0, 0x5e, 0x92, 0x94, 0xfb, 0x59, 0xbc, 0x20, 0x9c, + 0x2a, 0xa6, 0xf2, 0xd2, 0x12, 0xf8, 0x4c, 0xc2, 0x92, 0x79, 0x04, 0xe6, 0x03, 0x5f, 0xce, 0x7d, + 0xb2, 0x58, 0x24, 0x34, 0x4d, 0xa5, 0x99, 0x06, 0x6e, 0x09, 0xcc, 0x55, 0x90, 0x63, 0x81, 0x39, + 0xa5, 0x09, 0x4b, 0xf3, 0xf9, 0xbf, 0x95, 0xa1, 0xad, 0x01, 0xed, 0xd9, 0x09, 0x74, 0xe5, 0xb5, + 0xc6, 0x64, 0xcd, 0x68, 0xc8, 0x7d, 0x99, 0x30, 0x65, 0x61, 0x47, 0x14, 0x6e, 0x14, 0x3e, 0x12, + 0x61, 0x73, 0xa0, 0x9d, 0x47, 0xc0, 0xbf, 0x25, 0x29, 0x95, 0x3e, 0x55, 0x70, 0x2b, 0x55, 0x21, + 0x78, 0x4f, 0x52, 0xba, 0xc5, 0x49, 0x84, 0x2b, 0x95, 0x2d, 0x0e, 0x16, 0x5e, 0x1c, 0x02, 0x6c, + 0x04, 0x45, 0xe5, 0xce, 0x88, 0x8b, 0x94, 0xfc, 0x07, 0x1d, 0x16, 0x84, 0x2a, 0x6d, 0x84, 0x45, + 0x59, 0xc8, 0xb5, 0x55, 0x6d, 0x16, 0x84, 0xc2, 0x58, 0x57, 0x82, 0x92, 0x97, 0xa7, 0x52, 0xf3, + 0xea, 0x9a, 0xa7, 0x82, 0xa9, 0x79, 0x87, 0x00, 0xf3, 0x25, 0x7f, 0xf4, 0x17, 0x74, 0xc9, 0x89, + 0x74, 0xa9, 0x86, 0x0d, 0x81, 0x8c, 0x04, 0x80, 0xf6, 0xa1, 0x29, 0x64, 0x04, 0x20, 0x83, 0x56, + 0xc3, 0x0d, 0x46, 0x56, 0xc3, 0x25, 0x7f, 0x74, 0xfa, 0x60, 0x7e, 0xce, 0x22, 0xfe, 0xe7, 0x9d, + 0x74, 0xee, 0xa0, 0xad, 0x19, 0xda, 0xcf, 0x7d, 0x68, 0x16, 0x6b, 0xa2, 0x78, 0x0d, 0x3d, 0xfa, + 0x8b, 0xb1, 0xcb, 0x2f, 0xc7, 0xfe, 0x07, 0x8c, 0xe7, 0xc5, 0x50, 0xae, 0x35, 0x99, 0xde, 0x8a, + 0x93, 0x1e, 0x34, 0xf3, 0xd8, 0x21, 0x13, 0x9a, 0xb3, 0xeb, 0xe1, 0x07, 0x17, 0x5f, 0x7a, 0xf6, + 0xce, 0xc9, 0x47, 0x30, 0x8a, 0xb0, 0xa1, 0x36, 0x18, 0xe3, 0xeb, 0xf1, 0x74, 0xec, 0x4e, 0xbd, + 0x91, 0xbd, 0x83, 0xfe, 0x82, 0xee, 0x0d, 0xf6, 0xc6, 0x57, 0xee, 0xa5, 0xe7, 0x63, 0xef, 0x8b, + 0xe7, 0x7e, 0xf2, 0x46, 0x76, 0x09, 0xb5, 0xa0, 0x31, 0x99, 0x0d, 0x87, 0xde, 0x64, 0x62, 0x57, + 0x10, 0x40, 0xfd, 0xc2, 0x1d, 0x8b, 0x42, 0xf5, 0xec, 0x87, 0x5e, 0x8f, 0xa1, 0x7c, 0xa1, 0xd0, + 0x39, 0x34, 0xf3, 0x57, 0x09, 0xed, 0xc9, 0x58, 0xbf, 0x78, 0xa4, 0x0e, 0xba, 0x45, 0xd8, 0x0b, + 0x03, 0xde, 0x42, 0x43, 0x2f, 0x1d, 0xda, 0x95, 0xd5, 0xed, 0x15, 0x3c, 0xe8, 0x6c, 0xed, 0x47, + 0x96, 0xbe, 0x29, 0xa1, 0x77, 0x60, 0x5f, 0x52, 0x9e, 0x6b, 0xcb, 0x7c, 0x22, 0xa5, 0xbc, 0x19, + 0xde, 0x03, 0xb4, 0x09, 0xe9, 0xd3, 0xb6, 0x5b, 0xe5, 0x55, 0xe8, 0xd6, 0xcd, 0x8b, 0xd3, 0xad, + 0x5b, 0x37, 0x75, 0x5b, 0x97, 0x0f, 0xf0, 0xf9, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd1, 0xd5, + 0xba, 0xca, 0x90, 0x05, 0x00, 0x00, } diff --git a/cmd/swapd/rpc/swapclient.proto b/looprpc/client.proto similarity index 100% rename from cmd/swapd/rpc/swapclient.proto rename to looprpc/client.proto diff --git a/rpc/gen_protos.sh b/looprpc/gen_protos.sh similarity index 56% rename from rpc/gen_protos.sh rename to looprpc/gen_protos.sh index ec4e8e9..fbb8ac3 100755 --- a/rpc/gen_protos.sh +++ b/looprpc/gen_protos.sh @@ -1,7 +1,13 @@ #!/bin/sh -# Generate the protos. +# Generate the server protos. protoc -I/usr/local/include -I.\ -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ --go_out=plugins=grpc,paths=source_relative:. \ server.proto + +# Generate the client protos. +protoc -I/usr/local/include -I. \ + -I$GOPATH/src \ + --go_out=plugins=grpc:. \ + client.proto diff --git a/rpc/server.pb.go b/looprpc/server.pb.go similarity index 100% rename from rpc/server.pb.go rename to looprpc/server.pb.go diff --git a/rpc/server.proto b/looprpc/server.proto similarity index 100% rename from rpc/server.proto rename to looprpc/server.proto