Documentation
¶
Index ¶
Constants ¶
View Source
const ( HeaderRequestID = "X-Request-ID" UserIdKey = "UserId" )
View Source
const ( HealthCheckPath = "/health-check" FlowIdPath = "/flow/:id" FlowInputsPath = "/flow/getinputs/:id" )
View Source
const (
MessageSomethingWrong = "something went wrong"
)
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
func AuthMiddleware() gin.HandlerFunc
func CreateServer ¶
CreateServer creates an API server with the given configuration. It sets up the necessary middleware and routes. @title Analytics-Parser API @version 0.0.18 @description For the parsing of analytics flows. @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.