Implemented GetDataSourceIdByName API

This commit is contained in:
utkarshcmu
2016-03-10 01:31:10 -08:00
parent 8afd56575c
commit 4fbff99186
4 changed files with 47 additions and 2 deletions
+4
View File
@@ -10,6 +10,10 @@ import (
"github.com/grafana/grafana/pkg/setting"
)
type AnyId struct {
Id int64 `json:"id"`
}
type LoginCommand struct {
User string `json:"user" binding:"Required"`
Password string `json:"password" binding:"Required"`