panda

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2020 License: AGPL-3.0, BSD-3-Clause Imports: 3 Imported by: 1

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

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"`
	SharedSecret     []byte              `protobuf:"bytes,3,opt,name=shared_secret,json=sharedSecret" json:"shared_secret,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"`
	SharedKey        []byte              `protobuf:"bytes,10,opt,name=shared_key,json=sharedKey" json:"shared_key,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 (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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL