View Source nova_session_ets (nova v0.10.1)

Summary

Functions

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

delete_value(SessionId, Key)

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

get_value(SessionId, Key)

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

set_value(SessionId, Key, Value)

View Source
-spec set_value(SessionId :: binary(), Key :: binary(), Value :: binary()) ->
             ok | {error, Reason :: term()}.
-spec start_link() ->
              {ok, Pid :: pid()} |
              {error, Error :: {already_started, pid()}} |
              {error, Error :: term()} |
              ignore.
Starts the server