Mesh: {
    methods: {
        getMeshGraph: {
            I: typeof Empty;
            O: typeof MeshGraph;
            kind: Unary;
            name: "GetMeshGraph";
        };
        getNode: {
            I: typeof GetNodeRequest;
            O: typeof MeshNode;
            kind: Unary;
            name: "GetNode";
        };
        listNodes: {
            I: typeof Empty;
            O: typeof NodeList;
            kind: Unary;
            name: "ListNodes";
        };
    };
    typeName: "v1.Mesh";
} = ...

Mesh is a service that can optionally be exposed by a node. It provides methods for interfacing with the webmesh from the outside.

Type declaration

  • Readonly methods: {
        getMeshGraph: {
            I: typeof Empty;
            O: typeof MeshGraph;
            kind: Unary;
            name: "GetMeshGraph";
        };
        getNode: {
            I: typeof GetNodeRequest;
            O: typeof MeshNode;
            kind: Unary;
            name: "GetNode";
        };
        listNodes: {
            I: typeof Empty;
            O: typeof NodeList;
            kind: Unary;
            name: "ListNodes";
        };
    }
    • Readonly getMeshGraph: {
          I: typeof Empty;
          O: typeof MeshGraph;
          kind: Unary;
          name: "GetMeshGraph";
      }

      GetMeshGraph fetches the mesh graph. It returns a list of nodes, edges, and a rendering in the dot format.

      Generated

      from rpc v1.Mesh.GetMeshGraph

      • Readonly I: typeof Empty
      • Readonly O: typeof MeshGraph
      • Readonly kind: Unary
      • Readonly name: "GetMeshGraph"
    • Readonly getNode: {
          I: typeof GetNodeRequest;
          O: typeof MeshNode;
          kind: Unary;
          name: "GetNode";
      }

      GetNode gets a node by ID.

      Generated

      from rpc v1.Mesh.GetNode

    • Readonly listNodes: {
          I: typeof Empty;
          O: typeof NodeList;
          kind: Unary;
          name: "ListNodes";
      }

      ListNodes lists all nodes.

      Generated

      from rpc v1.Mesh.ListNodes

      • Readonly I: typeof Empty
      • Readonly O: typeof NodeList
      • Readonly kind: Unary
      • Readonly name: "ListNodes"
  • Readonly typeName: "v1.Mesh"

Generated

from service v1.Mesh

Generated using TypeDoc