feat(live): wip work

This commit is contained in:
Torkel Ödegaard
2016-03-14 16:18:07 +01:00
parent 2adc4d12be
commit 195be2742c
5 changed files with 53 additions and 23 deletions

View File

@@ -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{