Module watts_session_sup

the supervisor to dynamically start sessions.

Behaviours: supervisor.

Description

the supervisor to dynamically start sessions

Function Index

init/1intialize the supervisor.
new_session/1start a new session.
start_link/0start the supervisor.

Function Details

init/1

init(X1) -> any()

intialize the supervisor

new_session/1

new_session(Token::binary()) -> {ok, pid()}

start a new session

start_link/0

start_link() -> {ok, pid()}

start the supervisor


Generated by EDoc