tvl-depot/assessments/semiprimes/server
William Carroll 714ec29743 Define Cache and convert app to OTP
Define a simple in-memory key-value store for our cache.

TL;DR:
- Define `Cache` as a simple state-keeping `Agent`
- Define `Sup`, which starts our Cache process
- Define `App`, which starts our Supervisor process
- Whitelist `App` in `mix.exs`, so that it starts after calling `iex -S mix`
2020-12-12 01:04:39 +00:00
..
lib Define Cache and convert app to OTP 2020-12-12 01:04:39 +00:00
test Define Math module 2020-12-11 22:43:26 +00:00
.formatter.exs Init Elixir project 2020-12-11 22:42:16 +00:00
.gitignore Init Elixir project 2020-12-11 22:42:16 +00:00
mix.exs Define Cache and convert app to OTP 2020-12-12 01:04:39 +00:00
mix.lock Init Elixir project 2020-12-11 22:42:16 +00:00
README.md Init Elixir project 2020-12-11 22:42:16 +00:00

Server

TODO: Add description

Installation

If available in Hex, the package can be installed by adding server to your list of dependencies in mix.exs:

def deps do
  [
    {:server, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/server.