router_server

command
v0.16.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

README

Introduction

This is a Go example for the RMB peer router using direct client that starts a server as peer using the peer router that. The peer can send RMB messages through connecting to the relay directly.

How it works

To use the example, you needs to:

  • Set the mnemonics variable to a valid mnemonics for client peer and server, with an activated account on the TFChain.
  • set the client peer destination twin and session with the ones of the created peer router.
  • make sure you are running the server before the client peer.

Usage

Run the client and wait for the response. This example doesn't depend on rmb-peer.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL