Avrora.Storage behaviour (avrora v0.19.0) View Source
Behavior for storing and getting schemas by name or integer ID.
Link to this section Summary
Types
Schema indentifier.
Link to this section Types
Specs
Schema indentifier.
Link to this section Callbacks
Specs
get(key :: schema_id()) :: {:ok, result :: nil | Avrora.Schema.t()} | {:error, reason :: term()}
Specs
put(key :: schema_id(), value :: Avrora.Schema.t()) :: {:ok, result :: Avrora.Schema.t()} | {:error, reason :: term()}