erlang_adk_session (erlang_adk v0.2.1)

View Source

erlang_adk_session - ETS-backed implementation of adk_session_service.

Summary

Functions

add_event(AppName, UserId, SessionId, Event)

create_session(AppName, UserId, Opts)

delete(SessionId)

delete_session(AppName, UserId, SessionId)

get_session(AppName, UserId, SessionId)

init()

Initialize the session storage

list_sessions(AppName, UserId)

load(SessionId)

save(SessionId, Memory)

update_state(AppName, UserId, SessionId, StateDelta)