1. 10 May, 2018 1 commit
  2. 16 Mar, 2018 1 commit
  3. 24 Jan, 2018 1 commit
  4. 19 Jan, 2018 1 commit
  5. 17 Jan, 2018 2 commits
  6. 16 Jan, 2018 1 commit
  7. 13 Jan, 2018 1 commit
  8. 08 Dec, 2017 1 commit
    • Daniel García Moreno's avatar
      Split the backend into several modules · d38e966f
      Daniel García Moreno authored
      See #30
      
      I've split the backend file into several modules, by matrix.org API
      funcionality. Now each function receives the backend struct as first
      argument and this struct is clonable so we can try to send between
      threads. The backend.data is a Arc<Mutex>> so it's shared between calls
      and keep the shared information.
      
       * backend/types.rs: enums and structs, BKCommand, BKResponse and Backend
       * backend/mod.rs: Backend struct methods, new, run and command_recv
       * backend/register.rs: Login related API calls
       * backend/user.rs: User related API calls
       * backend/media.rs: Media related API calls
       * backend/directory.rs: Directory related API calls
       * backend/room.rs: Room related API calls
       * backend/sync.rs: Sync related API calls
      d38e966f