Honu v0.3.2
  • Pages
  • Modules
  • Mix Tasks

    View Source Honu.Storage behaviour (Honu v0.3.2)

    Link to this section Summary

    Types

    option()

    Callbacks

    delete(t, list)
    exists?(arg1, list)
    put(t, list)
    read(t, list)

    Functions

    config(key, opts \\ [])
    config!(key, opts \\ [])

    Link to this section Types

    Link to this type

    option()

    View Source
    @type option() :: {atom(), any()}

    Link to this section Callbacks

    Link to this callback

    delete(t, list)

    View Source
    @callback delete(Honu.Attachments.Blob.t(), [option()]) :: :ok | {:error, String.t()}
    Link to this callback

    exists?(arg1, list)

    View Source
    @callback exists?(Honu.Attachments.Blob.t() | String.t(), [option()]) :: true | false
    Link to this callback

    put(t, list)

    View Source
    @callback put(Honu.Attachments.Blob.t(), [option()]) ::
      {:ok, Honu.Attachments.Blob.t()} | {:error, String.t()}
    Link to this callback

    read(t, list)

    View Source
    @callback read(Honu.Attachments.Blob.t(), [option()]) ::
      {:ok, binary()} | {:error, String.t()}

    Link to this section Functions

    Link to this function

    config(key, opts \\ [])

    View Source
    Link to this function

    config!(key, opts \\ [])

    View Source

    On Hex.pm: Package Preview (current file)

    Built using ExDoc (v0.29.0) for the Elixir programming language