centrifugal / centrifuge

Real-time messaging library for Go. The simplest way to add feature-rich and scalable WebSocket support to your application. The core of Centrifugo server.
https://pkg.go.dev/github.com/centrifugal/centrifuge
MIT License
1.06k stars 91 forks source link

Support tags on Publish() #398

Closed heiningair closed 1 month ago

heiningair commented 1 month ago

Is your feature request related to a problem? Please describe. Right now it is not possible to make use of the tags feature using the golang library.

Describe the solution you'd like When using the Publish() method on the Subscription, then I want to be able to pass optional tags for which i can resolve later in the publication handler.

It seems to be already builtin to the protocol. Is there a specific reason why it is not implemented in the golang library. Or is there another way to use the feature which I am not aware of?

thx

FZambia commented 1 month ago

Hello @heiningair

Do you mean https://github.com/centrifugal/centrifuge-go ?

Seems a duplicate of https://github.com/centrifugal/centrifuge-go/issues/87

heiningair commented 1 month ago

@FZambia Thanks for the hint.. You are absolutely right! This is a duplicate then. The other one answers my question