View Source ExKits.Cache.Storage behaviour (lib_oss v0.1.1)
storage behaviour, as backend of cache framework
you can use default implementation ExKits.Storage.ETS, or implement your own storage
Summary
Types
@type k() :: term()
@type opts() :: Keyword.t()
@type put_opts() :: [{:ttl, pos_integer() | :infinity}]
@type t() :: struct()
@type v() :: term() | nil