Project Moscato Team Messaging Middleware Implemetation Message Middleware by Golang Operate as Secure, Effectively
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021
  1. package modules
  2. import (
  3. _ "errors"
  4. _ "fmt"
  5. )
  6. type match_manager struct {
  7. }
  8. func (match_mng *match_manager) matching(queue *MsgQueue) error {
  9. msg := queue.pop(true)
  10. //Implement here ~~
  11. subscription := msg.(*PublishMsg).subscription
  12. content := msg.(*PublishMsg).content
  13. println(subscription, content)
  14. return nil
  15. }