nova_session_ets (nova v0.9.1) View Source

Link to this section Summary

Link to this section Functions

Specs

delete_value(SessionId :: binary()) -> ok | {error, Reason :: term()}.
Link to this function

delete_value(SessionId, Key)

View Source

Specs

delete_value(SessionId :: binary(), Key :: binary()) -> ok | {error, Reason :: term()}.
Link to this function

get_value(SessionId, Key)

View Source

Specs

get_value(SessionId :: binary(), Key :: binary()) -> {ok, Value :: binary()} | {error, not_found}.
Link to this function

set_value(SessionId, Key, Value)

View Source

Specs

set_value(SessionId :: binary(), Key :: binary(), Value :: binary()) ->
             ok | {error, Reason :: term()}.

Specs

start_link() ->
              {ok, Pid :: pid()} |
              {error, Error :: {already_started, pid()}} |
              {error, Error :: term()} |
              ignore.
Starts the server