MCPcopy Index your code
hub / github.com/apache/devlake / CreateAndRunApiServer

Function CreateAndRunApiServer

backend/server/api/api.go:71–78  ·  view source on GitHub ↗

@title DevLake Swagger API @version 0.1 @description This is the main page of devlake api @license.name Apache-2.0 @host localhost:8080 @BasePath /

()

Source from the content-addressed store, hash-verified

69// @host localhost:8080
70// @BasePath /
71func CreateAndRunApiServer() {
72 // Setup and run the server
73 Init()
74 services.InitExecuteMigration()
75 router := CreateApiServer()
76 SetupApiServer(router)
77 RunApiServer(router)
78}
79
80func CreateApiServer() *gin.Engine {
81 // Create router

Callers

nothing calls this directly

Calls 4

CreateApiServerFunction · 0.85
SetupApiServerFunction · 0.85
RunApiServerFunction · 0.85
InitFunction · 0.70

Tested by

no test coverage detected