mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* Initial suypport for invoking tiggers * dupe method * tighten server constraints * runner tests not working yet * basic route tests passing * post rebase fixes * add hybrid support for trigger invoke and tests * consoloidate all hybrid evil into one place * cleanup and make triggers unique by source * fix oops with Agent * linting * review fixes
29 lines
954 B
Go
29 lines
954 B
Go
package api
|
|
|
|
const (
|
|
// AppName is the app name context key
|
|
AppName string = "app_name"
|
|
// AppID is the app id context key
|
|
AppID string = "app_id"
|
|
// Path is a route's path context key
|
|
Path string = "path"
|
|
|
|
// ParamAppID is the url path parameter for app id
|
|
ParamAppID string = "appID"
|
|
// ParamAppName is the url path parameter for app name
|
|
ParamAppName string = "appName"
|
|
// ParamRouteName is the url path parameter for route name
|
|
ParamRouteName string = "route"
|
|
// ParamTriggerID is the url path parameter for trigger id
|
|
ParamTriggerID string = "triggerID"
|
|
// ParamCallID is the url path parameter for call id
|
|
ParamCallID string = "call"
|
|
// ParamFnID is the url path parameter for fn id
|
|
ParamFnID string = "fnID"
|
|
// ParamTriggerSource is the triggers source parameter
|
|
ParamTriggerSource string = "triggerSource"
|
|
|
|
//ParamTriggerType is the trigger type parameter - only used in hybrid API
|
|
ParamTriggerType string = "triggerType"
|
|
)
|