api

package
v0.0.55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL