@cryptotaxi247 / kubo / commits / 03486a510

rm unused proto

cc @jbenet @whyrusleeping

Brian Tiger Chow committed Jan 15, 2015 at 11:16 UTC 03486a5109023ab6202f93f5ea7521eb14dd0587
3 files changed -154
p2p/crypto/secio/pb/Makefile deleted
-10
@@ -1,10 +0,0 @@
1 -PB = $(wildcard *.proto)
2 -GO = $(PB:.proto=.pb.go)
3 -
4 -all: $(GO)
5 -
6 -%.pb.go: %.proto
7 - protoc --gogo_out=. --proto_path=../../../../../../:/usr/local/opt/protobuf/include:. $<
8 -
9 -clean:
10 - rm *.pb.go
p2p/crypto/secio/pb/spipe.pb.go deleted
-130
@@ -1,130 +0,0 @@
1 -// Code generated by protoc-gen-gogo.
2 -// source: spipe.proto
3 -// DO NOT EDIT!
4 -
5 -/*
6 -Package spipe_pb is a generated protocol buffer package.
7 -
8 -It is generated from these files:
9 - spipe.proto
10 -
11 -It has these top-level messages:
12 - Propose
13 - Exchange
14 - DataSig
15 -*/
16 -package spipe_pb
17 -
18 -import proto "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/gogoprotobuf/proto"
19 -import math "math"
20 -
21 -// Reference imports to suppress errors if they are not otherwise used.
22 -var _ = proto.Marshal
23 -var _ = math.Inf
24 -
25 -type Propose struct {
26 - Rand []byte `protobuf:"bytes,1,opt,name=rand" json:"rand,omitempty"`
27 - Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey" json:"pubkey,omitempty"`
28 - Exchanges *string `protobuf:"bytes,3,opt,name=exchanges" json:"exchanges,omitempty"`
29 - Ciphers *string `protobuf:"bytes,4,opt,name=ciphers" json:"ciphers,omitempty"`
30 - Hashes *string `protobuf:"bytes,5,opt,name=hashes" json:"hashes,omitempty"`
31 - XXX_unrecognized []byte `json:"-"`
32 -}
33 -
34 -func (m *Propose) Reset() { *m = Propose{} }
35 -func (m *Propose) String() string { return proto.CompactTextString(m) }
36 -func (*Propose) ProtoMessage() {}
37 -
38 -func (m *Propose) GetRand() []byte {
39 - if m != nil {
40 - return m.Rand
41 - }
42 - return nil
43 -}
44 -
45 -func (m *Propose) GetPubkey() []byte {
46 - if m != nil {
47 - return m.Pubkey
48 - }
49 - return nil
50 -}
51 -
52 -func (m *Propose) GetExchanges() string {
53 - if m != nil && m.Exchanges != nil {
54 - return *m.Exchanges
55 - }
56 - return ""
57 -}
58 -
59 -func (m *Propose) GetCiphers() string {
60 - if m != nil && m.Ciphers != nil {
61 - return *m.Ciphers
62 - }
63 - return ""
64 -}
65 -
66 -func (m *Propose) GetHashes() string {
67 - if m != nil && m.Hashes != nil {
68 - return *m.Hashes
69 - }
70 - return ""
71 -}
72 -
73 -type Exchange struct {
74 - Epubkey []byte `protobuf:"bytes,1,opt,name=epubkey" json:"epubkey,omitempty"`
75 - Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
76 - XXX_unrecognized []byte `json:"-"`
77 -}
78 -
79 -func (m *Exchange) Reset() { *m = Exchange{} }
80 -func (m *Exchange) String() string { return proto.CompactTextString(m) }
81 -func (*Exchange) ProtoMessage() {}
82 -
83 -func (m *Exchange) GetEpubkey() []byte {
84 - if m != nil {
85 - return m.Epubkey
86 - }
87 - return nil
88 -}
89 -
90 -func (m *Exchange) GetSignature() []byte {
91 - if m != nil {
92 - return m.Signature
93 - }
94 - return nil
95 -}
96 -
97 -type DataSig struct {
98 - Data []byte `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
99 - Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
100 - Id *uint64 `protobuf:"varint,3,opt,name=id" json:"id,omitempty"`
101 - XXX_unrecognized []byte `json:"-"`
102 -}
103 -
104 -func (m *DataSig) Reset() { *m = DataSig{} }
105 -func (m *DataSig) String() string { return proto.CompactTextString(m) }
106 -func (*DataSig) ProtoMessage() {}
107 -
108 -func (m *DataSig) GetData() []byte {
109 - if m != nil {
110 - return m.Data
111 - }
112 - return nil
113 -}
114 -
115 -func (m *DataSig) GetSignature() []byte {
116 - if m != nil {
117 - return m.Signature
118 - }
119 - return nil
120 -}
121 -
122 -func (m *DataSig) GetId() uint64 {
123 - if m != nil && m.Id != nil {
124 - return *m.Id
125 - }
126 - return 0
127 -}
128 -
129 -func init() {
130 -}
p2p/crypto/secio/pb/spipe.proto deleted
-14
@@ -1,14 +0,0 @@
1 -package spipe.pb;
2 -
3 -message Propose {
4 - optional bytes rand = 1;
5 - optional bytes pubkey = 2;
6 - optional string exchanges = 3;
7 - optional string ciphers = 4;
8 - optional string hashes = 5;
9 -}
10 -
11 -message Exchange {
12 - optional bytes epubkey = 1;
13 - optional bytes signature = 2;
14 -}