Files
fn-serverless/api/ifaces/app.go
Carlos C d5fb1afda7 Revert "Assert License (#224)"
This reverts commit a61c4dab78.
2016-11-06 09:25:12 -08:00

17 lines
230 B
Go

package ifaces
import "net/http"
type App interface {
Name() string
Routes() Route
Validate() error
}
type Route interface {
// AppName() string `json:"appname"`
Path() string
Image() string
Headers() http.Header
}