Split Morse.Server into Application and Server.
Rename Morse.Signaler to Worker.
This commit is contained in:
parent
375a58ef14
commit
3432ef75b2
5 changed files with 19 additions and 13 deletions
|
@ -15,7 +15,7 @@ defmodule UiWeb.PageController do
|
|||
|
||||
def start(conn, _params) do
|
||||
response =
|
||||
case MorseServer.start_morse() do
|
||||
case Morse.Server.start_morse() do
|
||||
:ok -> "Started."
|
||||
{:error, :already_started} -> "The process is still in progress..."
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue