Passphrase Generator v0.1.0 Library.WordRepository View Source

Module responsible for retrieval of words used by the diceware generator

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

GenServer.init/1 callback

Start the word repository and link it. This is a helper function

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

get_word_by_number(number)

View Source

GenServer.init/1 callback

Link to this function

start_link(state \\ %{})

View Source

Start the word repository and link it. This is a helper function