Documentation ¶
Index ¶
- func HandleFileQuery(c *gin.Context)
- func HandleFunctionContextUpload(c *gin.Context)
- func HandleFunctionCtxQuery(c *gin.Context)
- func HandleFunctionsQuery(c *gin.Context)
- func HandlePing(c *gin.Context)
- func HandleRepoFuncUpload(c *gin.Context)
- func HandleRepoQuery(c *gin.Context)
- func HandleRevQuery(c *gin.Context)
- func HandleStatusUpload(c *gin.Context)
- func InitService(_ object.ExecuteConfig, ctx context.Context, driver binding.Driver, ...)
- type UploadStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleFileQuery ¶
@Summary file query @Param repo query string true "repo" @Param rev query string true "rev" @Produce json @Success 200 {array} string @Router /api/v1/file [get] @Tags MAIN
func HandleFunctionCtxQuery ¶
@Summary func ctx query @Param repo query string true "repo" @Param rev query string true "rev" @Param file query string true "file" @Param lines query string false "specific lines" @Produce json @Success 200 {array} sibyl2.FunctionContext @Router /api/v1/funcctx [get] @Tags MAIN
func HandleFunctionsQuery ¶
@Summary func query @Param repo query string true "repo" @Param rev query string true "rev" @Param file query string true "file" @Param lines query string false "specific lines" @Produce json @Success 200 {array} object.FunctionWithSignature @Router /api/v1/func [get] @Tags MAIN
func HandlePing ¶
@BasePath / @Summary ping example @Produce json @Success 200 @Router /ops/ping [get] @Tags OPS
func HandleRepoFuncUpload ¶
func HandleRepoQuery ¶
@Summary repo query @Produce json @Success 200 {array} string @Router /api/v1/repo [get] @Tags MAIN
func HandleRevQuery ¶
@Summary rev query @Param repo query string true "rev search by repo" @Produce json @Success 200 {array} string @Router /api/v1/rev [get] @Tags MAIN
func HandleStatusUpload ¶
@BasePath / @Summary upload status query @Produce json @Success 200 @Router /ops/monitor/upload [get] @Tags OPS