エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Example of using Redis PubSub and EventSource with golang
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Example of using Redis PubSub and EventSource with golang
redis-eventsource.go �LA�U pd[@�U package main import ( eventsource "github.com/antage/eventsourc... redis-eventsource.go �LA�U pd[@�U package main import ( eventsource "github.com/antage/eventsource/http" redis "github.com/vmihailenco/redis" "log" "net/http" ) func haltOnErr(err error){ if err != nil { panic(err) } } type subscriptionHandler struct { index map[string]subscription } // maps a url to a redis Subscribe channel type subscription struct { pubsub * redis.PubSubClient es eventsource.Ev