diff --git a/pb/p2pd.pb.go b/pb/p2pd.pb.go index 5a5ac2e..62d40f2 100644 --- a/pb/p2pd.pb.go +++ b/pb/p2pd.pb.go @@ -70,7 +70,7 @@ func (x *Request_Type) UnmarshalJSON(data []byte) error { return nil } func (Request_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{0, 0} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{0, 0} } type Response_Type int32 @@ -106,7 +106,7 @@ func (x *Response_Type) UnmarshalJSON(data []byte) error { return nil } func (Response_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{1, 0} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{1, 0} } type DHTRequest_Type int32 @@ -163,7 +163,7 @@ func (x *DHTRequest_Type) UnmarshalJSON(data []byte) error { return nil } func (DHTRequest_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{8, 0} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{8, 0} } type DHTResponse_Type int32 @@ -202,26 +202,29 @@ func (x *DHTResponse_Type) UnmarshalJSON(data []byte) error { return nil } func (DHTResponse_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{9, 0} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{9, 0} } type ConnManagerRequest_Type int32 const ( - ConnManagerRequest_TAG_PEER ConnManagerRequest_Type = 0 - ConnManagerRequest_UNTAG_PEER ConnManagerRequest_Type = 1 - ConnManagerRequest_TRIM ConnManagerRequest_Type = 2 + ConnManagerRequest_TAG_PEER ConnManagerRequest_Type = 0 + ConnManagerRequest_UNTAG_PEER ConnManagerRequest_Type = 1 + ConnManagerRequest_TRIM ConnManagerRequest_Type = 2 + ConnManagerRequest_DISCONNECT_PEER ConnManagerRequest_Type = 3 ) var ConnManagerRequest_Type_name = map[int32]string{ 0: "TAG_PEER", 1: "UNTAG_PEER", 2: "TRIM", + 3: "DISCONNECT_PEER", } var ConnManagerRequest_Type_value = map[string]int32{ - "TAG_PEER": 0, - "UNTAG_PEER": 1, - "TRIM": 2, + "TAG_PEER": 0, + "UNTAG_PEER": 1, + "TRIM": 2, + "DISCONNECT_PEER": 3, } func (x ConnManagerRequest_Type) Enum() *ConnManagerRequest_Type { @@ -241,7 +244,7 @@ func (x *ConnManagerRequest_Type) UnmarshalJSON(data []byte) error { return nil } func (ConnManagerRequest_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{11, 0} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{11, 0} } type Request struct { @@ -260,7 +263,7 @@ func (m *Request) Reset() { *m = Request{} } func (m *Request) String() string { return proto.CompactTextString(m) } func (*Request) ProtoMessage() {} func (*Request) Descriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{0} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{0} } func (m *Request) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -347,7 +350,7 @@ func (m *Response) Reset() { *m = Response{} } func (m *Response) String() string { return proto.CompactTextString(m) } func (*Response) ProtoMessage() {} func (*Response) Descriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{1} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{1} } func (m *Response) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -430,7 +433,7 @@ func (m *IdentifyResponse) Reset() { *m = IdentifyResponse{} } func (m *IdentifyResponse) String() string { return proto.CompactTextString(m) } func (*IdentifyResponse) ProtoMessage() {} func (*IdentifyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{2} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{2} } func (m *IdentifyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -485,7 +488,7 @@ func (m *ConnectRequest) Reset() { *m = ConnectRequest{} } func (m *ConnectRequest) String() string { return proto.CompactTextString(m) } func (*ConnectRequest) ProtoMessage() {} func (*ConnectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{3} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{3} } func (m *ConnectRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -540,7 +543,7 @@ func (m *StreamOpenRequest) Reset() { *m = StreamOpenRequest{} } func (m *StreamOpenRequest) String() string { return proto.CompactTextString(m) } func (*StreamOpenRequest) ProtoMessage() {} func (*StreamOpenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{4} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{4} } func (m *StreamOpenRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -595,7 +598,7 @@ func (m *StreamHandlerRequest) Reset() { *m = StreamHandlerRequest{} } func (m *StreamHandlerRequest) String() string { return proto.CompactTextString(m) } func (*StreamHandlerRequest) ProtoMessage() {} func (*StreamHandlerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{5} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{5} } func (m *StreamHandlerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -649,7 +652,7 @@ func (m *ErrorResponse) Reset() { *m = ErrorResponse{} } func (m *ErrorResponse) String() string { return proto.CompactTextString(m) } func (*ErrorResponse) ProtoMessage() {} func (*ErrorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{6} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{6} } func (m *ErrorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -698,7 +701,7 @@ func (m *StreamInfo) Reset() { *m = StreamInfo{} } func (m *StreamInfo) String() string { return proto.CompactTextString(m) } func (*StreamInfo) ProtoMessage() {} func (*StreamInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{7} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{7} } func (m *StreamInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -765,7 +768,7 @@ func (m *DHTRequest) Reset() { *m = DHTRequest{} } func (m *DHTRequest) String() string { return proto.CompactTextString(m) } func (*DHTRequest) ProtoMessage() {} func (*DHTRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{8} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{8} } func (m *DHTRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -856,7 +859,7 @@ func (m *DHTResponse) Reset() { *m = DHTResponse{} } func (m *DHTResponse) String() string { return proto.CompactTextString(m) } func (*DHTResponse) ProtoMessage() {} func (*DHTResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{9} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{9} } func (m *DHTResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -918,7 +921,7 @@ func (m *PeerInfo) Reset() { *m = PeerInfo{} } func (m *PeerInfo) String() string { return proto.CompactTextString(m) } func (*PeerInfo) ProtoMessage() {} func (*PeerInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{10} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{10} } func (m *PeerInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -975,7 +978,7 @@ func (m *ConnManagerRequest) Reset() { *m = ConnManagerRequest{} } func (m *ConnManagerRequest) String() string { return proto.CompactTextString(m) } func (*ConnManagerRequest) ProtoMessage() {} func (*ConnManagerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_p2pd_5133aa0fbbac7f14, []int{11} + return fileDescriptor_p2pd_13cf128fba6cc858, []int{11} } func (m *ConnManagerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3905,63 +3908,64 @@ var ( ErrIntOverflowP2Pd = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("p2pd.proto", fileDescriptor_p2pd_5133aa0fbbac7f14) } +func init() { proto.RegisterFile("p2pd.proto", fileDescriptor_p2pd_13cf128fba6cc858) } -var fileDescriptor_p2pd_5133aa0fbbac7f14 = []byte{ - // 880 bytes of a gzipped FileDescriptorProto +var fileDescriptor_p2pd_13cf128fba6cc858 = []byte{ + // 889 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdd, 0x6e, 0xe3, 0x44, - 0x14, 0xae, 0xed, 0x38, 0x3f, 0x27, 0x69, 0x98, 0x9e, 0xed, 0x2e, 0x2e, 0x3f, 0x55, 0xb0, 0x54, - 0x28, 0x68, 0x89, 0xa0, 0x80, 0x84, 0x56, 0x5a, 0x89, 0x34, 0x99, 0x6d, 0xcc, 0xa6, 0x4e, 0x34, - 0x71, 0x57, 0xda, 0xab, 0x28, 0xd4, 0xb3, 0x6d, 0xc4, 0xd6, 0x31, 0x8e, 0x0b, 0xea, 0xdb, 0xf0, - 0x0e, 0xdc, 0x70, 0xc1, 0x05, 0x97, 0x5c, 0xf2, 0x08, 0xa8, 0x0f, 0xc0, 0x33, 0xa0, 0xf9, 0xb1, - 0x63, 0x77, 0x53, 0xb4, 0x77, 0xe7, 0xe7, 0xfb, 0xe6, 0xcc, 0x9c, 0x73, 0xbe, 0x01, 0x88, 0x8f, - 0xe2, 0xb0, 0x1b, 0x27, 0xcb, 0x74, 0x89, 0x35, 0x65, 0xff, 0xe0, 0xfe, 0x69, 0x41, 0x8d, 0xf1, - 0x9f, 0xae, 0xf9, 0x2a, 0xc5, 0x4f, 0xa1, 0x92, 0xde, 0xc4, 0xdc, 0x31, 0x3a, 0xe6, 0x61, 0xfb, - 0xe8, 0x61, 0x57, 0x63, 0xba, 0x3a, 0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d, 0x7c, 0x32, 0xba, 0x12, 0x69, 0x38, 0xbf, 0x19, + 0xd0, 0x2a, 0xec, 0x0b, 0x7e, 0x51, 0xea, 0xf8, 0xee, 0xba, 0x9d, 0x2a, 0xb6, 0x7c, 0xbf, 0xd0, + 0xf2, 0xb5, 0x8b, 0x95, 0xab, 0x53, 0x75, 0xd8, 0x2a, 0x74, 0xd8, 0xd9, 0xd7, 0x0d, 0x6b, 0x42, + 0xf5, 0x98, 0x9e, 0x78, 0xbe, 0x5a, 0x38, 0x75, 0x4d, 0x43, 0xfc, 0x6c, 0xd4, 0x77, 0x89, 0xe9, + 0x7c, 0x09, 0x8d, 0xec, 0xb8, 0x77, 0xdc, 0xb8, 0xbf, 0x0d, 0xc0, 0x37, 0x3f, 0x60, 0xfc, 0xa6, + 0xf4, 0xb6, 0xee, 0x5b, 0xfe, 0xea, 0x77, 0x50, 0x55, 0x3a, 0xbb, 0x90, 0xaf, 0x69, 0x32, 0x61, + 0xe2, 0x23, 0xa8, 0xfd, 0xca, 0xe7, 0x17, 0x97, 0xa9, 0x14, 0x96, 0xc5, 0xb4, 0xe7, 0xf4, 0x57, + 0xff, 0x7c, 0xd0, 0x3b, 0xc9, 0x34, 0xd1, 0x01, 0x38, 0xf3, 0x73, 0xdf, 0xc0, 0x06, 0x54, 0x02, + 0xe6, 0x9d, 0x12, 0x13, 0xb7, 0xe1, 0x81, 0xeb, 0x4d, 0xb4, 0x4a, 0x54, 0xda, 0x3a, 0x6e, 0xff, + 0x75, 0xbb, 0x67, 0xfc, 0x73, 0xbb, 0x67, 0xfc, 0x7b, 0xbb, 0x67, 0xfc, 0x1f, 0x00, 0x00, 0xff, + 0xff, 0x7e, 0x9f, 0x81, 0x9f, 0xa1, 0x07, 0x00, 0x00, } diff --git a/pb/p2pd.proto b/pb/p2pd.proto index 3077190..b249378 100644 --- a/pb/p2pd.proto +++ b/pb/p2pd.proto @@ -107,9 +107,10 @@ message PeerInfo { message ConnManagerRequest { enum Type { - TAG_PEER = 0; - UNTAG_PEER = 1; - TRIM = 2; + TAG_PEER = 0; + UNTAG_PEER = 1; + TRIM = 2; + DISCONNECT_PEER = 3; } required Type type = 1;