toip.tools

function · Node only

fileGatewayStore

A gateway's custody record in a JSON file: survives restarts, so a resent VIA is never posted twice.

@toip-tools/mesh-transport/nodeView source
TypeScriptImport
import { fileGatewayStore } from "@toip-tools/mesh-transport/node";

Declaration

TypeScriptSignature
fileGatewayStore(path: string): GatewayStore;

Parameters

pathrequired
string

Returns