z_module_sup (zotonic_core v1.0.0-rc.14)
Link to this section Summary
Functions
API for starting the sites dispatcher and manager
Link to this section Functions
Link to this function
gc(Site)
-spec gc(atom()) -> any().
Link to this function
init(_)
-spec init(list()) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}.
Link to this function
start_link(Site)
-spec start_link(atom()) -> {ok, pid()} | {error, term()}.
Link to this function
start_module(Application, ChildSpec, Site)
-spec start_module(atom(), supervisor:child_spec(), Site :: atom()) -> {ok, pid()} | {error, {already_started, pid()}} | {error, term()}.
Link to this function
stop_module(ChildId, Site)
-spec stop_module(supervisor:child_id(), atom()) -> ok | {error, not_found}.