# README
Direct client
Direct client does not use the rmb-peer
and connects directly to the rmb relay.
This means that the client need to take care of some more things this include:
- Connecting/Authenticating to relay
- Building an RMB envelope
- The envelope type is generated from the types.proto file which is a copy from the one defined by RMB.
- Sign the envelope
- Send the request to the relay.
- Received and verify received envelopes
The direct client is still a WIP. Although it works perfectly well, it yet need to verify received envelope signature.
Types generation
protoc -I. --go_out=types types.proto
# Packages
No description provided by the author
# Functions
No description provided by the author
NewClient creates a new RMB direct client.
No description provided by the author
No description provided by the author
NewTwinDB creates a new twinDBImpl instance, with a non expiring cache.
No description provided by the author
VerifySignature is responsible for verifying that the source produced this signature.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
Twin is used to store a twin id and its public key.
# Type aliases
No description provided by the author
No description provided by the author