fake_cas v1.3.0 FakeCas.Server

GenServer used to start a CAS mock

Summary

Functions

Returns the port the server is bound to

Starts a FakeCas.Server registered with the given name

Stops the server running on pid

Functions

port(pid)
port(GenServer.server) :: non_neg_integer

Returns the port the server is bound to

start_link(name)
start_link(String.t) :: GenServer.on_start

Starts a FakeCas.Server registered with the given name

stop(pid)
stop(GenServer.server) :: :ok

Stops the server running on pid