mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
server, examples, extensions lint compliant (#1109)
these are all automated changes suggested by golint
This commit is contained in:
23
api/const.go
23
api/const.go
@@ -1,16 +1,23 @@
|
||||
package api
|
||||
|
||||
const (
|
||||
// Gin Request context key names
|
||||
// AppName is the app name context key
|
||||
AppName string = "app_name"
|
||||
AppID string = "app_id"
|
||||
Path string = "path"
|
||||
// AppID is the app id context key
|
||||
AppID string = "app_id"
|
||||
// Path is a route's path context key
|
||||
Path string = "path"
|
||||
|
||||
// Gin URL template parameters
|
||||
ParamAppID string = "appID"
|
||||
ParamAppName string = "appName"
|
||||
// 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 string = "call"
|
||||
ParamFnID string = "fnID"
|
||||
// ParamCallID is the url path parameter for call id
|
||||
ParamCallID string = "call"
|
||||
// ParamFnID is the url path parameter for fn id
|
||||
ParamFnID string = "fnID"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user