LanguageColours.ETSDatabase.Options (LanguageColours v1.0.0) View Source

Link to this section Summary

Types

t()

Options to give to the LanguageColours.ETSDatabase.start_link/1 function.

Link to this section Types

Specs

t() :: %LanguageColours.ETSDatabase.Options{
  ets_table: atom(),
  file: Path.t(),
  server_opts: GenServer.options()
}

Options to give to the LanguageColours.ETSDatabase.start_link/1 function.

  • :server_opts: Any options to give to GenServer.start_link/3.
  • :file: The file to read JSON data from.
  • :ets_table: Name of the ETS table to store the data in.