Behaviours and Interfaces

OTP behaviours and interface definitions for creating reusable and standardized components. Packages among the 3,000 most downloaded in the past 90 days.

14 packages
  • Database connection behaviour for database transactions and connection pooling

    354
    5.1m last 90 days
  • Connection behaviour for connection processes

    267
    536.9k last 90 days
  • enough 0.1.0

    A gen_server implementation with additional, overload-protected call type

    8
    496.3k last 90 days
  • knigge 1.4.1

    An opinionated way of dealing with behaviours.

    111
    192.5k last 90 days
  • Dead-simple Access behaviour for custom structs

    48
    56.0k last 90 days
  • oath 0.1.1

    Oath provides a system for Design by Contract in Elixir.

    46
    33.5k last 90 days
  • StructAccess provides a generic implementation of the `Access` behaviour for the module where this library is used.

    12
    33.0k last 90 days
  • Erlang behaviour for recurring events

    24
    18.3k last 90 days
  • metal 0.1.2

    Lightweight server behaviour

    16
    8.2k last 90 days
  • Execution Plane contracts, JSON-RPC, and process runtime

    2
    6.3k last 90 days
  • EXPERIMENTAL — Shared contract for the DpExchange family of exchange adapters: behaviours, value types, canonical-pair normalisation and a conformance suite.

    1
    6.2k last 90 days
  • Pure shared lower contracts for the GroundPlane workspace

    1
    6.1k last 90 days
  • Pure persistence profile, tier, capture, store, and debug contract

    1
    6.0k last 90 days
  • gen_mcp 2.2.0

    A generic MCP server behaviour, plus predefined server implementations and plugs to get started immediately.

    3
    4.2k last 90 days