mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00

- Add scenario validators - Clean up responses and serializes with respect to scenario - Fix error handling and responses of scenario endpoints
15 lines
544 B
Go
15 lines
544 B
Go
package common
|
|
|
|
import "github.com/jinzhu/gorm/dialects/postgres"
|
|
|
|
type KeyModels map[string]interface{}
|
|
|
|
type Request struct {
|
|
Username string `json:"username,omitempty"`
|
|
Password string `json:"password,omitempty"`
|
|
Mail string `json:"mail,omitempty"`
|
|
Role string `json:"role,omitempty"`
|
|
Name string `json:"name,omitempty"`
|
|
Running bool `json:"running,omitempty"`
|
|
StartParameters postgres.Jsonb `json:"startParameters,omitempty"`
|
|
}
|