server, examples, extensions lint compliant (#1109)

these are all automated changes suggested by golint
This commit is contained in:
Reed Allman
2018-07-04 09:23:15 -05:00
committed by Owen Cliffe
parent 6f5e58144a
commit 1cdb47d6e9
30 changed files with 355 additions and 223 deletions

View File

@@ -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"
)