Update data sources now work, #8

This commit is contained in:
Torkel Ödegaard
2014-12-17 17:32:22 +01:00
parent adf4e72cf8
commit ce947d4793
7 changed files with 131 additions and 19 deletions

View File

@ -31,7 +31,7 @@ type DataSource struct {
type GetDataSourcesQuery struct {
AccountId int64
Resp []*DataSource
Result []*DataSource
}
type AddDataSourceCommand struct {
@ -43,3 +43,19 @@ type AddDataSourceCommand struct {
Password string
User string
}
type UpdateDataSourceCommand struct {
Id int64
AccountId int64
Name string
Type DsType
Access DsAccess
Url string
Password string
User string
}
type DeleteDataSourceCommand struct {
Id int64
AccountId int64
}