Documentation
¶
Index ¶
Constants ¶
View Source
const ( HeaderRequestID = "X-Request-ID" UserIdKey = "UserId" )
View Source
const ( HealthCheckPath = "/health-check" PipelineIdPath = "/pipeline/:id" PipelinesPath = "/pipelines" PipelinePath = "/pipeline" )
View Source
const ( MessageSomethingWrong = "something went wrong" MessageParseError = "failed to parse request" )
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶ added in v0.0.47
func AuthMiddleware() gin.HandlerFunc
func CreateServer ¶
func CreateServer(cfg *config.Config, pipelineService lib.PipelineApiService) (r *gin.Engine, err error)
CreateServer godoc @title Analytics-Flow-Engine API @version 0.0.55 @description For the administration of analytics pipelines. @license.name Apache-2.0 @license.url http://www.apache.org/licenses/LICENSE-2.0.html @BasePath /
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.