Module Os_user_proxySource

include module type of struct include Os.User_proxy end

Cache keeping userid and user information as a Types.user type.

val get_data_from_db : 'a -> Os.Types.User.id -> Os.Types.User.t Lwt.t

get_data_from_db myid_o userid returns the user which has ID userid. For the moment, myid_o is not used but it will be use later.

Data comes from the database, not the cache.

val get_data_from_db_for_client : 'a -> Os.Types.User.id -> Os.Types.User.t Lwt.t

get_data_from_db_for_client myid_o userid returns the user which has ID userid. For the moment, myid_o is not used but it will be use later.

Data comes from the database, not the cache.

val get_data : Os.Types.User.id -> Os.Types.User.t Lwt.t

get_data userid returns the user which has ID userid. For the moment, myid_o is not used but it will be use later.

Data comes from the database, not the cache.

val get_data_from_cache : Os.Types.User.id -> Os.Types.User.t Lwt.t

get_data_from_cache userid returns the user with ID userid saved in cache.