Os_user_proxySourceinclude module type of struct include Os.User_proxy endval cache : (Os.Types.User.id, Os.Types.User.t) Eliom.Cscache.tCache 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.tget_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.tget_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.tget_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.tget_data_from_cache userid returns the user with ID userid saved in cache.