Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
03486a51
Commit
03486a51
authored
Jan 15, 2015
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rm unused proto
cc @jbenet @whyrusleeping
parent
aec0b31d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
154 deletions
+0
-154
p2p/crypto/secio/pb/Makefile
p2p/crypto/secio/pb/Makefile
+0
-10
p2p/crypto/secio/pb/spipe.pb.go
p2p/crypto/secio/pb/spipe.pb.go
+0
-130
p2p/crypto/secio/pb/spipe.proto
p2p/crypto/secio/pb/spipe.proto
+0
-14
No files found.
p2p/crypto/secio/pb/Makefile
deleted
100644 → 0
View file @
aec0b31d
PB
=
$(
wildcard
*
.proto
)
GO
=
$(PB:.proto=.pb.go)
all
:
$(GO)
%.pb.go
:
%.proto
protoc
--gogo_out
=
.
--proto_path
=
../../../../../../:/usr/local/opt/protobuf/include:.
$<
clean
:
rm
*
.pb.go
p2p/crypto/secio/pb/spipe.pb.go
deleted
100644 → 0
View file @
aec0b31d
// Code generated by protoc-gen-gogo.
// source: spipe.proto
// DO NOT EDIT!
/*
Package spipe_pb is a generated protocol buffer package.
It is generated from these files:
spipe.proto
It has these top-level messages:
Propose
Exchange
DataSig
*/
package
spipe_pb
import
proto
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/gogoprotobuf/proto"
import
math
"math"
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
math
.
Inf
type
Propose
struct
{
Rand
[]
byte
`protobuf:"bytes,1,opt,name=rand" json:"rand,omitempty"`
Pubkey
[]
byte
`protobuf:"bytes,2,opt,name=pubkey" json:"pubkey,omitempty"`
Exchanges
*
string
`protobuf:"bytes,3,opt,name=exchanges" json:"exchanges,omitempty"`
Ciphers
*
string
`protobuf:"bytes,4,opt,name=ciphers" json:"ciphers,omitempty"`
Hashes
*
string
`protobuf:"bytes,5,opt,name=hashes" json:"hashes,omitempty"`
XXX_unrecognized
[]
byte
`json:"-"`
}
func
(
m
*
Propose
)
Reset
()
{
*
m
=
Propose
{}
}
func
(
m
*
Propose
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Propose
)
ProtoMessage
()
{}
func
(
m
*
Propose
)
GetRand
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Rand
}
return
nil
}
func
(
m
*
Propose
)
GetPubkey
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Pubkey
}
return
nil
}
func
(
m
*
Propose
)
GetExchanges
()
string
{
if
m
!=
nil
&&
m
.
Exchanges
!=
nil
{
return
*
m
.
Exchanges
}
return
""
}
func
(
m
*
Propose
)
GetCiphers
()
string
{
if
m
!=
nil
&&
m
.
Ciphers
!=
nil
{
return
*
m
.
Ciphers
}
return
""
}
func
(
m
*
Propose
)
GetHashes
()
string
{
if
m
!=
nil
&&
m
.
Hashes
!=
nil
{
return
*
m
.
Hashes
}
return
""
}
type
Exchange
struct
{
Epubkey
[]
byte
`protobuf:"bytes,1,opt,name=epubkey" json:"epubkey,omitempty"`
Signature
[]
byte
`protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
XXX_unrecognized
[]
byte
`json:"-"`
}
func
(
m
*
Exchange
)
Reset
()
{
*
m
=
Exchange
{}
}
func
(
m
*
Exchange
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Exchange
)
ProtoMessage
()
{}
func
(
m
*
Exchange
)
GetEpubkey
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Epubkey
}
return
nil
}
func
(
m
*
Exchange
)
GetSignature
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Signature
}
return
nil
}
type
DataSig
struct
{
Data
[]
byte
`protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
Signature
[]
byte
`protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
Id
*
uint64
`protobuf:"varint,3,opt,name=id" json:"id,omitempty"`
XXX_unrecognized
[]
byte
`json:"-"`
}
func
(
m
*
DataSig
)
Reset
()
{
*
m
=
DataSig
{}
}
func
(
m
*
DataSig
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
DataSig
)
ProtoMessage
()
{}
func
(
m
*
DataSig
)
GetData
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Data
}
return
nil
}
func
(
m
*
DataSig
)
GetSignature
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Signature
}
return
nil
}
func
(
m
*
DataSig
)
GetId
()
uint64
{
if
m
!=
nil
&&
m
.
Id
!=
nil
{
return
*
m
.
Id
}
return
0
}
func
init
()
{
}
p2p/crypto/secio/pb/spipe.proto
deleted
100644 → 0
View file @
aec0b31d
package
spipe
.
pb
;
message
Propose
{
optional
bytes
rand
=
1
;
optional
bytes
pubkey
=
2
;
optional
string
exchanges
=
3
;
optional
string
ciphers
=
4
;
optional
string
hashes
=
5
;
}
message
Exchange
{
optional
bytes
epubkey
=
1
;
optional
bytes
signature
=
2
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment