View Source Buzzword.Cache.Server (Buzzword Cache v0.1.10)

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.

Summary

Types

Server state

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Types

@type state() :: {Buzzword.Cache.buzzwords(), reference()}

Server state

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec init(term()) :: {:ok, state()}

Callback implementation for GenServer.init/1.

@spec start_link(term()) :: GenServer.on_start()