package
0.0.0-20241018215016-da8e1dec7295
Repository: https://github.com/naman1402/distributed-chat-app.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
context holds information about the upcoming HTTP request and provides method to handle the response storing the context into newRoom (JSON format) and inserting into cassandra session by calling execute query from database package.
No description provided by the author
data is iterator containing room members (collected by calling query directly through cassandra session) in the for loop, we scan username from data and store it into members ([]string) return the array containing members.
No description provided by the author
get room from context and execute query to add member into room_name (room and user name from context -> joiningRoom).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author