fsdb v0.2.1 Fsdb.Server

Server module.

Summary

Functions

Starts the GenServer

Stops the GenServer

Functions

start_link(state, opts \\ [])

Starts the GenServer.

state must contain a valid path in the :path key.

opts is optional and is passed verbatim to GenServer.

Returns {:ok, pid}.

Example

  Fsdb.Server.start_link([path: "./fsdb"], [name: Fsdb.Server])
stop(pid)

Stops the GenServer.

Returns :ok.