Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ShutdownErrMessage = "panda: shutdown requested"
Functions ¶
This section is empty.
Types ¶
type KeyExchange ¶
func NewKeyExchange ¶
func NewKeyExchange(rand io.Reader, log *logging.Logger, meetingPlace MeetingPlace, sharedSecret []byte, kxBytes []byte, contactID uint64, pandaChan chan PandaUpdate, shutdownChan chan struct{}) (*KeyExchange, error)
func UnmarshalKeyExchange ¶
func UnmarshalKeyExchange(rand io.Reader, log *logging.Logger, meetingPlace MeetingPlace, serialised []byte) (*KeyExchange, error)
func (*KeyExchange) Marshal ¶
func (kx *KeyExchange) Marshal() []byte
func (*KeyExchange) Run ¶
func (kx *KeyExchange) Run()
type MeetingPlace ¶
Click to show internal directories.
Click to hide internal directories.