Bounded, one-use, in-memory TLS 1.3 ticket cache.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
@spec checkout(binary(), GenServer.server()) :: {:ok, SSL.SessionTicket.t()} | :miss
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec put(binary(), SSL.SessionTicket.t(), GenServer.server()) :: :ok | {:error, atom()}
@spec start_link(keyword()) :: GenServer.on_start()
@spec stats(GenServer.server()) :: %{count: non_neg_integer(), bytes: non_neg_integer()} | {:error, atom()}