Module z_sites_sup

Supervisor for sites supervisors.

Copyright © 2017 Marc Worrell

Behaviours: supervisor.

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

Description

Supervisor for sites supervisors

Function Index

init/1
start_link/0API for starting the sites dispatcher and manager.
start_site/1
stop_site/1

Function Details

init/1

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

start_link/0

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

API for starting the sites dispatcher and manager

start_site/1

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

stop_site/1

stop_site(Pid::pid()) -> ok | {error, not_found}


Generated by EDoc