mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* API endpoint extensions working. extensions example. * Added server.NewEnv and some docs for the API extensions example. extensions example. example main.go. * Uncommented special handler stuff. * Added section in docs for extending API linking to example main.go. * Commented out special_handler test * Changed to NewFromEnv
12 lines
184 B
Go
12 lines
184 B
Go
package api
|
|
|
|
// Request context key names
|
|
const (
|
|
AppName string = "app_name"
|
|
Path string = "path"
|
|
|
|
// Short forms for API URLs
|
|
CApp string = "app"
|
|
CRoute string = "route"
|
|
)
|