IrohBeam.Distribution (iroh_beam v0.2.0)

View Source

Opt-in OTP 29 Erlang distribution over an authenticated Iroh transport.

This module starts or stops dynamic distribution. It does not discover members or call Node.connect/1; callers configure exact peers and choose their own topology.

Summary

Functions

peer_info(node)

@spec peer_info(node()) :: {:ok, map()} | {:error, IrohBeam.Error.t()}

start(options)

@spec start(keyword()) :: {:ok, pid()} | {:error, IrohBeam.Error.t()}

status()

@spec status() :: {:ok, map()} | {:error, IrohBeam.Error.t()}

stop()

@spec stop() :: :ok | {:error, IrohBeam.Error.t()}