kubo/identify/message.pb.go
Brian Tiger Chow 7968b45e58 vendor dependencies with godep
dependencies are vendored into Godeps/_workspace and commit versions are
recorded in Godeps.json

update datastore to e89f0511
update go.crypto
2014-09-09 22:39:42 -07:00

98 lines
2.2 KiB
Go

// Code generated by protoc-gen-go.
// source: message.proto
// DO NOT EDIT!
/*
Package identify is a generated protocol buffer package.
It is generated from these files:
message.proto
It has these top-level messages:
Hello
Exchange
*/
package identify
import proto "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/goprotobuf/proto"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = math.Inf
type Hello struct {
Rand []byte `protobuf:"bytes,1,req,name=rand" json:"rand,omitempty"`
Pubkey []byte `protobuf:"bytes,2,req,name=pubkey" json:"pubkey,omitempty"`
Exchanges *string `protobuf:"bytes,3,req,name=exchanges" json:"exchanges,omitempty"`
Ciphers *string `protobuf:"bytes,4,req,name=ciphers" json:"ciphers,omitempty"`
Hashes *string `protobuf:"bytes,5,req,name=hashes" json:"hashes,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Hello) Reset() { *m = Hello{} }
func (m *Hello) String() string { return proto.CompactTextString(m) }
func (*Hello) ProtoMessage() {}
func (m *Hello) GetRand() []byte {
if m != nil {
return m.Rand
}
return nil
}
func (m *Hello) GetPubkey() []byte {
if m != nil {
return m.Pubkey
}
return nil
}
func (m *Hello) GetExchanges() string {
if m != nil && m.Exchanges != nil {
return *m.Exchanges
}
return ""
}
func (m *Hello) GetCiphers() string {
if m != nil && m.Ciphers != nil {
return *m.Ciphers
}
return ""
}
func (m *Hello) GetHashes() string {
if m != nil && m.Hashes != nil {
return *m.Hashes
}
return ""
}
type Exchange struct {
Epubkey []byte `protobuf:"bytes,1,req,name=epubkey" json:"epubkey,omitempty"`
Signature []byte `protobuf:"bytes,2,req,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
}
func init() {
}