lib_redis
v0.1.0
  • Pages
  • Modules

    View Source LibRedis.Client behaviour (lib_redis v0.1.0)

    Link to this section Summary

    Types

    client()
    command_t()
    resp_t()

    Callbacks

    command(client, command_t, keyword)
    new(keyword)
    pipeline(client, list, keyword)
    start_link(keyword)

    Functions

    command(client, command, opts)
    pipeline(client, commands, opts)

    Link to this section Types

    Link to this type

    client()

    View Source
    @type client() :: struct()
    Link to this type

    command_t()

    View Source
    @type command_t() :: [binary() | bitstring()]
    Link to this type

    resp_t()

    View Source
    @type resp_t() :: {:ok, term()} | {:error, term()}

    Link to this section Callbacks

    Link to this callback

    command(client, command_t, keyword)

    View Source
    @callback command(client(), command_t(), keyword()) :: resp_t()
    Link to this callback

    new(keyword)

    View Source
    @callback new(keyword()) :: client()
    Link to this callback

    pipeline(client, list, keyword)

    View Source
    @callback pipeline(client(), [command_t()], keyword()) :: resp_t()
    Link to this callback

    start_link(keyword)

    View Source
    @callback start_link(keyword()) :: LibRedis.Typespecs.on_start()

    Link to this section Functions

    Link to this function

    command(client, command, opts)

    View Source
    Link to this function

    pipeline(client, commands, opts)

    View Source

    Hex Package Hex Preview (current file) Download ePub version

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