Module PocketMeshPeer.Peer

Represents one peer in the list of peers (friends), see Peers.

module Id: { ... };

Module for representing peer's ID and collections built around the ID (Map, Set, ...).

type t;

The type representing a peer.

let id: t => Id.t;

id(p) returns an ID of the peer p.

let alias: t => string;

alias(p) returns a local alias of the peer p.