Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/socket support #34

Draft
wants to merge 4 commits into
base: feat/mux-support
Choose a base branch
from
Draft

Conversation

joyguptaa
Copy link
Contributor

Date: 10 Jan 2025

Developer Name: Joy Gupta


Issue Ticket Number

#28

Description

This PR contains code to enable websocket in discord service which later on can be used to connect with discord queue

Documentation Updated?

  • Yes
  • No, Not needed

Under Feature Flag

  • Yes
  • No, as it is entirely a new route

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screen.Recording.2025-01-10.at.10.43.25.AM.mov

Test Coverage

Screenshot 2025-01-10 at 10 44 19 AM

Additional Notes

@joyguptaa joyguptaa changed the base branch from develop to feat/mux-support January 10, 2025 05:14
return
}

log.Printf("Connected with %v", session.connection.RemoteAddr())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here we used log

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replaced it with logrus

@@ -7,6 +7,6 @@ import (
)

func main() {
logrus.Info("Starting server on port " + config.AppConfig.Port)
routes.Listen(":" + config.AppConfig.Port)
logrus.Info("Starting server on port " + config.AppConfig.PORT)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here logrus why so ..?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for pointing it out, I've now updated it with logrus

@joyguptaa joyguptaa self-assigned this Jan 10, 2025
@joyguptaa joyguptaa marked this pull request as draft January 16, 2025 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants