Documentation ¶
Overview ¶
Package proto contains the baseline message container and the endpoint crypto methods.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct { Meta interface{} // Metadata usable by upper network layers Key []byte // AES key if the payload is encrypted (nil otherwise) Iv []byte // Counter mode nonce if the payload is encrypted (nil otherwise) }
Baseline message headers.
type Message ¶
type Message struct { Head Header // Baseline headers Data []byte // Payload in plain or ciphertext form // contains filtered or unexported fields }
Iris message consisting of the payload and attached headers.
func (*Message) KnownSecure ¶
func (m *Message) KnownSecure()
Internal, used by the link package to assert known security.
Directories ¶
Path | Synopsis |
---|---|
Package bootstrap is responsible for randomly probing and linearly scanning the local network (single interface) for other running instances.
|
Package bootstrap is responsible for randomly probing and linearly scanning the local network (single interface) for other running instances. |
Package iris implements the iris communication primitives on top of scribe.
|
Package iris implements the iris communication primitives on top of scribe. |
Package link contains the encrypted network link implementation.
|
Package link contains the encrypted network link implementation. |
Package pastry contains a simplified version of Pastry, where proximity is not taken into consideration (i.e.
|
Package pastry contains a simplified version of Pastry, where proximity is not taken into consideration (i.e. |
Package scribe contains a simplified version of Scribe, where no topic based ACLs are defined.
|
Package scribe contains a simplified version of Scribe, where no topic based ACLs are defined. |
topic
Package topic implements a carrier topic tree with functionality to unicast, broadcast and load balance between nodes of the tree.
|
Package topic implements a carrier topic tree with functionality to unicast, broadcast and load balance between nodes of the tree. |
Package session implements an encrypted data stream, authenticated through the station-to-station key exchange.
|
Package session implements an encrypted data stream, authenticated through the station-to-station key exchange. |
Package stream wraps a TCP/IP network connection with the Go gob en/decoder.
|
Package stream wraps a TCP/IP network connection with the Go gob en/decoder. |
Click to show internal directories.
Click to hide internal directories.