Documentation
¶
Index ¶
Constants ¶
View Source
const ( HeaderRequestID = "X-Request-ID" UserIdKey = "UserId" HeaderAuth = "Authorization" )
View Source
const ( MessageSomethingWrong = "something went wrong" MessageNotFound = "not found" MessageForbidden = "forbidden" MessageConflict = "already running" )
View Source
const (
HealthCheckPath = "/health-check"
)
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
func AuthMiddleware() gin.HandlerFunc
func CreateServer ¶
CreateServer godoc @title Analytics-Cleanup Service @version {version} @description For the cleanup 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.