View Source Lightning.Storage.Backend behaviour (Lightning v2.10.4)

The behaviour for storage backends.

Summary

Callbacks

@callback get_url(String.t()) :: {:ok, String.t()} | {:error, any()}
@callback store(source :: String.t(), dest :: String.t()) ::
  {:ok, any()} | {:error, any()}