Files
fn-serverless/api/models/app.go
2016-07-21 16:04:58 -03:00

23 lines
524 B
Go

package models
import "errors"
type Apps []App
var (
ErrAppsCreate = errors.New("Could not create app")
ErrAppsUpdate = errors.New("Could not update app")
ErrAppsRemoving = errors.New("Could not remove app from datastore")
ErrAppsGet = errors.New("Could not get app from datastore")
ErrAppsList = errors.New("Could not list apps from datastore")
ErrAppsNotFound = errors.New("App not found")
)
type App struct {
Name string `json:"name"`
Routes Routes `json:"routes"`
}
type AppFilter struct {
}