Skip to content
Snippets Groups Projects

Feat connection module

Merged Bo-Chun Chen requested to merge github/fork/diedpigs/feat-connection-module into develop

To use in your code:

# first import the class
from usrreg_mq import UserRegMQ

# Initial with Exchange name:
userreg_mq = UserRegMQ({ 'exchange': 'RegUsr' })

# specify routing key and the message(JSON format)
userreg_mq.publish_msg({
        'routing_key': 'ohpc',
        'msg': {
                "username": 'user_name',
                "fullname": "Full Name",
                "reason": "Reason1, Reason2."
        }
})

Merge request reports

Approval is optional

Merged by avatar (Jul 28, 2025 2:52am UTC)

Merge details

  • Changes merged into develop with b0eb388a.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading