Documentation
¶
Index ¶
Constants ¶
View Source
const ( HeaderRequestID = "X-Request-ID" UserIdKey = "UserId" AdminKey = "admin" )
View Source
const ( MessageSomethingWrong = "something went wrong" MessageParseError = "failed to parse request" )
View Source
const (
HealthCheckPath = "/health-check"
)
Variables ¶
This section is empty.
Functions ¶
func AdminMiddleware ¶
func AdminMiddleware() gin.HandlerFunc
func AuthMiddleware ¶
func AuthMiddleware() gin.HandlerFunc
func CreateServer ¶
func CreateServer(cfg *config.Config, driver *service.Driver, pipeline *service.PipelineApiService, imp *service.ImportDeployService, permV2 *permV2Client.Client, influx *service.Influx) (r *gin.Engine, err error)
CreateServer godoc @title Analytics Serving Service API @version {version} @description For the administration of analytics exports. @license.name Apache-2.0 @license.url http://www.apache.org/licenses/LICENSE-2.0.html @BasePath /
func ValidateInputs ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.