View Source Kvasir.Key behaviour (kvasir v0.0.18)
Link to this section Summary
Link to this section Callbacks
@callback doc() :: String.t()
Key documentation.
@callback name() :: String.t()
Key descriptive name.
@callback partition(value :: term(), partitions :: pos_integer()) :: {:ok, non_neg_integer()} | {:error, atom()}