started work datasources admin
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package sqlstore
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/torkelo/grafana-pro/pkg/bus"
|
||||
m "github.com/torkelo/grafana-pro/pkg/models"
|
||||
)
|
||||
|
||||
func init() {
|
||||
bus.AddQueryHandler("sql", GetDataSourcesQuery)
|
||||
}
|
||||
|
||||
func GetDataSourcesQuery(query *m.GetDataSourcesQuery) error {
|
||||
return errors.New("Hello from query handler")
|
||||
}
|
||||
Reference in New Issue
Block a user