started work datasources admin

This commit is contained in:
Torkel Ödegaard
2014-12-16 12:04:08 +01:00
parent f665a30d28
commit b70a3f0958
14 changed files with 104 additions and 21 deletions
@@ -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")
}