Skip to content

Commit 9503ca4

Browse files
committed
Fixing TCP demo
1 parent 54ec6ed commit 9503ca4

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

lib/chorex_examples.ex

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
11
defmodule ChorexExamples do
2-
@moduledoc """
3-
Documentation for `ChorexExamples`.
4-
"""
5-
6-
@doc """
7-
Hello world.
8-
9-
## Examples
10-
11-
iex> ChorexExamples.hello()
12-
:world
13-
14-
"""
15-
def hello do
16-
:world
17-
end
18-
192
def start_server() do
3+
import Logger
4+
Logger.info("Starting up TCP server")
205
Chorex.start(
216
Tcp.ListenerChor.Chorex,
227
%{Listener => Tcp.ListenerImpl, AccepterPool => Tcp.AccepterPoolImpl},

0 commit comments

Comments
 (0)