View Source Buzzword.Cache.Server (Buzzword Cache v0.1.1)
A process that loads a map of buzzwords from an external file and caches it for expedient access. The cache is automatically refreshed every hour.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Link to this section Types
@type state() :: {Buzzword.Cache.buzzwords(), reference()}
Server state
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback implementation for GenServer.init/1
.
@spec start_link(term()) :: GenServer.on_start()