SnakeBridge.Helpers (SnakeBridge v0.16.0)

Copy Markdown View Source

Helper registry discovery and configuration for SnakeBridge.

Summary

Types

helper_info()

@type helper_info() :: map()

Functions

discover()

@spec discover() :: {:ok, [helper_info()]} | {:error, term()}

discover(config)

@spec discover(SnakeBridge.Config.t() | map()) ::
  {:ok, [helper_info()]} | {:error, term()}

enabled?(config)

@spec enabled?(map()) :: boolean()

payload_config(config, opts \\ [])

@spec payload_config(
  map(),
  keyword()
) :: map()

runtime_config()

@spec runtime_config() :: map()