mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* Added high level roadmap. * Changed to funtion.yaml. * Added logo * updating quickstart code example, WIP, waiting on another merge. * Minor updates. * Changed function.yaml to func.yaml and updated fnctl README.
16 lines
187 B
Go
16 lines
187 B
Go
package ifaces
|
|
|
|
import "net/http"
|
|
|
|
type App interface {
|
|
Name() string
|
|
Routes() Route
|
|
Validate() error
|
|
}
|
|
|
|
type Route interface {
|
|
Path() string
|
|
Image() string
|
|
Headers() http.Header
|
|
}
|