Live: push scope to demultiplex incoming data to stream channels (#32808)

This commit is contained in:
Alexander Emelin
2021-04-08 22:40:06 +03:00
committed by GitHub
parent 8f8cad9b83
commit a92bcce9de
6 changed files with 80 additions and 3 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ type PublishEvent struct {
// PublishReply is a reaction to PublishEvent.
type PublishReply struct {
// By default, it's a handler responsibility to publish data
// into a stream upon OnPublish but setting Fallthrough to true
// into a stream upon OnPublish but returning a data here
// will make Grafana Live publish data itself (i.e. stream handler
// just works as permission proxy in this case).
Data json.RawMessage