AITrace.NSHKR.ExportTransport behaviour (AITrace v0.2.0)

Copy Markdown View Source

Transport contract for NSHKR owner nodes exporting trace/evidence facts.

Summary

Types

result()

@type result() :: {:ok, map()} | {:error, map()}

Callbacks

export_trace(request, opts)

@callback export_trace(request :: map(), opts :: keyword()) :: result()

read_export(ref, opts)

@callback read_export(ref :: String.t(), opts :: keyword()) :: result()