hush v0.0.2 Hush.Provider behaviour View Source

Base implementation for a provider

Link to this section Summary

Link to this section Functions

Link to this section Callbacks

Specs

fetch(key :: String.t()) ::
  {:ok, String.t()} | {:error, :not_found} | {:error, any()}

Specs

load(config :: any()) :: :ok | {:error, any()}