View Source ATECC508A.Transport.Cache (atecc508a v1.3.0)
Simple cache for reducing unnecessary traffic to the ATECC508A
Summary
Functions
Returns a specification to start this module under a supervisor.
Check the cache for the request
Selectively cache responses
Types
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec get(GenServer.server(), binary()) :: response() | nil
Check the cache for the request
@spec put(GenServer.server(), binary(), response()) :: :ok
Selectively cache responses
@spec start_link() :: GenServer.on_start()