package
Version:
v0.16.4
Opens a new window with list of versions in this module.
Published: Nov 25, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 8
Opens a new window with list of known importers.
Documentation
¶
type Envelope interface {
GetConstructor() uint64
GetMessage() []byte
}
type JSONEnvelope struct {
RequestID uint64 `json:"requestID,omitempty"`
Constructor string `json:"constructor"`
Message json.RawMessage `json:"message,omitempty"`
}
Message defines the behavior of messages in Rony. They must be able to
encode/decode ProtocolBuffer and JSON formats.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.