Module z_module_sup

Supervisor for a site's modules.

Copyright © 2017 Marc Worrell

Behaviours: supervisor.

Authors: Marc Worrell (marc@worrell.nl).

Description

Supervisor for a site's modules

Function Index

init/1
start_link/1API for starting the sites dispatcher and manager.
start_module/3
stop_module/2

Function Details

init/1

init(X1::list()) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}

start_link/1

start_link(Site::atom()) -> {ok, pid()} | {error, term()}

API for starting the sites dispatcher and manager

start_module/3

start_module(Application::atom(), ChildSpec::supervisor:child_spec(), Site::atom()) -> {ok, pid()} | {error, {already_started, pid()}} | {error, term()}

stop_module/2

stop_module(ChildId::supervisor:child_id(), Site::atom()) -> ok | {error, not_found}


Generated by EDoc