fake_cas v1.4.0 FakeCas.Server
GenServer used to start a CAS mock
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Returns the port the server is bound to
Starts a FakeCas.Server registered with the given name
Stops the server running on pid
Link to this section Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor.
Link to this function
port(pid)
port(pid)
port(GenServer.server()) :: non_neg_integer()
port(GenServer.server()) :: non_neg_integer()
Returns the port the server is bound to
Link to this function
start_link(opts)
start_link(opts)
start_link(String.t()) :: GenServer.on_start()
start_link(String.t()) :: GenServer.on_start()
Starts a FakeCas.Server registered with the given name
Link to this function
stop(pid)
stop(pid)
stop(GenServer.server()) :: :ok
stop(GenServer.server()) :: :ok
Stops the server running on pid