README ¶ online_offline_tracker The purpose of this application is to return the online status of user(s). Tech Stack Utilizes redis database Utilizes chi go package Features Shows all online users Users can be added User can change their status to online User's status will be offline(data removed from redis) after 30sec Connection pooling and timeout Endpoints GET Request at http://localhost:8000/account/status?username={username} Response: if user is present: return their online status if user is not present: add user and set status to online GET Request at http://localhost:8000/account/all Response: Returns list of all users and their status Future Implementation If the user is offline, show "was online X mins ago" Dashboard to show redis metrics Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis api cmd api internal handlers tools Click to show internal directories. Click to hide internal directories.