Crosswake.ProofLane.Config (crosswake v0.2.4)

View Source

Closed, non-echoing configuration for a host-owned proof lane.

Summary

Types

t()

@type t() :: %Crosswake.ProofLane.Config{
  evidence_path: String.t(),
  indexed_db_database: String.t(),
  indexed_db_store: String.t(),
  ios_shell_root: Path.t(),
  mutation_id_path: String.t(),
  route_id: String.t(),
  route_path: String.t(),
  router: module(),
  sync_path: String.t()
}

Functions

host_root(config)

@spec host_root(t()) ::
  {:ok, String.t()} | {:error, Crosswake.ProofLane.Config.Error.t()}

normalize(input)

@spec normalize(keyword() | map()) ::
  {:ok, t()} | {:error, Crosswake.ProofLane.Config.Error.t()}