vintage_net_wizard v0.1.2 VintageNetWizard.Web.Endpoint View Source

Supervisor for the Web part of the VintageNet Wizard.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Start the web server

Stop the web server

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

start_server()

View Source
start_server() :: GenServer.on_start() | {:error, :already_started}

Start the web server

If the web server is started then {:error, already_started} is returned.

Only one server can be running at a time.

Link to this function

stop_server()

View Source
stop_server() :: :ok | {:error, :not_found}

Stop the web server