mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(live): wip work
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package live
|
||||
|
||||
import "github.com/grafana/grafana/pkg/log"
|
||||
import (
|
||||
"github.com/grafana/grafana/pkg/api/dtos"
|
||||
"github.com/grafana/grafana/pkg/log"
|
||||
)
|
||||
|
||||
type hub struct {
|
||||
// Registered connections.
|
||||
@@ -14,6 +17,8 @@ type hub struct {
|
||||
|
||||
// Unregister requests from connections.
|
||||
unregister chan *connection
|
||||
|
||||
streamPipe chan *dtos.StreamMessage
|
||||
}
|
||||
|
||||
var h = hub{
|
||||
|
Reference in New Issue
Block a user