Module caffeine

Module caffeine 

Source

Structs§

CaffeineSession

Enums§

SessionError

Functions§

end_protected_session
end_session
Ends the given session
get_session
Get the active session
get_session_path
The session path. /tmp/caffeine-session.json
init_protected_session
Inits a protected caffeine session (recommended). It writes a file so that no other session can be also active
init_session
Inits a caffeine session.