DiscoLog.Storage (disco_log v0.4.0)

A GenServer to store the mapping of fingerprint to Discord Thread ID using ETS.

Summary

Functions

Add a new fingerprint -> thread_id mapping

Returns a specification to start this module under a supervisor.

Retrieve the thread_id for a given fingerprint

Start the Storage

Functions

Link to this function

add_thread_id(fingerprint, thread_id)

Add a new fingerprint -> thread_id mapping

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

get_thread_id(fingerprint)

Retrieve the thread_id for a given fingerprint

Link to this function

start_link(opts)

Start the Storage