Documentation ¶
Overview ¶
Package envelope defines the generic encapsulating format for torus objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Envelope ¶
Envelope is the interface implemented by objects that encapsulate 'true' torus objects.
type Signed ¶
type Signed struct { ID *identity.ID `json:"id"` Version uint8 `json:"version"` Body identity.Immutable `json:"body"` Signature primitive.Signature `json:"sig"` }
Signed is the generic format for encapsulating signed immutable request/response objects to/from torus.
Click to show internal directories.
Click to hide internal directories.