From 88227898edd26a823d0942fc7226adb61a20cb5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 13 Jun 2016 13:23:22 +0200 Subject: Merge static_world and web_server examples The new example is called file_server and it's basically the same as web_server was. The name is clearer than the original, all examples being "Web servers". The new example is also tested and the test suite has been refactored a little. --- examples/static_world/src/static_world_sup.erl | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 examples/static_world/src/static_world_sup.erl (limited to 'examples/static_world/src/static_world_sup.erl') diff --git a/examples/static_world/src/static_world_sup.erl b/examples/static_world/src/static_world_sup.erl deleted file mode 100644 index a57d07a..0000000 --- a/examples/static_world/src/static_world_sup.erl +++ /dev/null @@ -1,23 +0,0 @@ -%% Feel free to use, reuse and abuse the code in this file. - -%% @private --module(static_world_sup). --behaviour(supervisor). - -%% API. --export([start_link/0]). - -%% supervisor. --export([init/1]). - -%% API. - --spec start_link() -> {ok, pid()}. -start_link() -> - supervisor:start_link({local, ?MODULE}, ?MODULE, []). - -%% supervisor. - -init([]) -> - Procs = [], - {ok, {{one_for_one, 10, 10}, Procs}}. -- cgit v1.2.3