Files
fn-serverless/api/ifaces/app.go
2016-08-07 14:58:05 -04: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
}