Gemini.UserCache (Gemini v0.2.0)
This module stores active sessions.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Put metadata into session cache.
Register cert (more precisely its hash) with session cache.
Remove cert from cache.
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
put_metadata(cert, k, v)
Specs
Put metadata into session cache.
Link to this function
register(cert)
Specs
Register cert (more precisely its hash) with session cache.
Link to this function
start_link(_)
Specs
start_link(any()) :: GenServer.on_start()
Link to this function
unregister(cert)
Specs
unregister(binary()) :: :ok
Remove cert from cache.