Documentation ¶
Overview ¶
Package panda is a generated protocol buffer package.
It is generated from these files:
core.proto
It has these top-level messages:
KeyExchange
Index ¶
- Variables
- type KeyExchange
- func (*KeyExchange) Descriptor() ([]byte, []int)
- func (m *KeyExchange) GetDhPrivate() []byte
- func (m *KeyExchange) GetKey() []byte
- func (m *KeyExchange) GetKeyExchangeBytes() []byte
- func (m *KeyExchange) GetMeeting1() []byte
- func (m *KeyExchange) GetMeeting2() []byte
- func (m *KeyExchange) GetMessage1() []byte
- func (m *KeyExchange) GetMessage2() []byte
- func (m *KeyExchange) GetSharedKey() []byte
- func (m *KeyExchange) GetSharedSecret() []byte
- func (m *KeyExchange) GetStatus() KeyExchange_Status
- func (*KeyExchange) ProtoMessage()
- func (m *KeyExchange) Reset()
- func (m *KeyExchange) String() string
- type KeyExchange_Status
Constants ¶
This section is empty.
Variables ¶
View Source
var KeyExchange_Status_name = map[int32]string{
0: "INIT",
1: "EXCHANGE1",
2: "EXCHANGE2",
}
View Source
var KeyExchange_Status_value = map[string]int32{
"INIT": 0,
"EXCHANGE1": 1,
"EXCHANGE2": 2,
}
Functions ¶
This section is empty.
Types ¶
type KeyExchange ¶
type KeyExchange struct { Status *KeyExchange_Status `protobuf:"varint,1,req,name=status,enum=panda.KeyExchange_Status" json:"status,omitempty"` KeyExchangeBytes []byte `protobuf:"bytes,2,req,name=key_exchange_bytes,json=keyExchangeBytes" json:"key_exchange_bytes,omitempty"` DhPrivate []byte `protobuf:"bytes,4,opt,name=dh_private,json=dhPrivate" json:"dh_private,omitempty"` Key []byte `protobuf:"bytes,5,opt,name=key" json:"key,omitempty"` Meeting1 []byte `protobuf:"bytes,6,opt,name=meeting1" json:"meeting1,omitempty"` Meeting2 []byte `protobuf:"bytes,7,opt,name=meeting2" json:"meeting2,omitempty"` Message1 []byte `protobuf:"bytes,8,opt,name=message1" json:"message1,omitempty"` Message2 []byte `protobuf:"bytes,9,opt,name=message2" json:"message2,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*KeyExchange) Descriptor ¶
func (*KeyExchange) Descriptor() ([]byte, []int)
func (*KeyExchange) GetDhPrivate ¶
func (m *KeyExchange) GetDhPrivate() []byte
func (*KeyExchange) GetKey ¶
func (m *KeyExchange) GetKey() []byte
func (*KeyExchange) GetKeyExchangeBytes ¶
func (m *KeyExchange) GetKeyExchangeBytes() []byte
func (*KeyExchange) GetMeeting1 ¶
func (m *KeyExchange) GetMeeting1() []byte
func (*KeyExchange) GetMeeting2 ¶
func (m *KeyExchange) GetMeeting2() []byte
func (*KeyExchange) GetMessage1 ¶
func (m *KeyExchange) GetMessage1() []byte
func (*KeyExchange) GetMessage2 ¶
func (m *KeyExchange) GetMessage2() []byte
func (*KeyExchange) GetSharedKey ¶
func (m *KeyExchange) GetSharedKey() []byte
func (*KeyExchange) GetSharedSecret ¶
func (m *KeyExchange) GetSharedSecret() []byte
func (*KeyExchange) GetStatus ¶
func (m *KeyExchange) GetStatus() KeyExchange_Status
func (*KeyExchange) ProtoMessage ¶
func (*KeyExchange) ProtoMessage()
func (*KeyExchange) Reset ¶
func (m *KeyExchange) Reset()
func (*KeyExchange) String ¶
func (m *KeyExchange) String() string
type KeyExchange_Status ¶
type KeyExchange_Status int32
const ( KeyExchange_INIT KeyExchange_Status = 0 KeyExchange_EXCHANGE1 KeyExchange_Status = 1 KeyExchange_EXCHANGE2 KeyExchange_Status = 2 )
func (KeyExchange_Status) Enum ¶
func (x KeyExchange_Status) Enum() *KeyExchange_Status
func (KeyExchange_Status) EnumDescriptor ¶
func (KeyExchange_Status) EnumDescriptor() ([]byte, []int)
func (KeyExchange_Status) String ¶
func (x KeyExchange_Status) String() string
func (*KeyExchange_Status) UnmarshalJSON ¶
func (x *KeyExchange_Status) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.