Documentation ¶
Index ¶
- func HandleClazzQueryWithRegex(c *gin.Context)
- func HandleClazzUpload(c *gin.Context)
- func HandleClazzesQuery(c *gin.Context)
- func HandleFileQuery(c *gin.Context)
- func HandleFuncCtxQueryWithRegex(c *gin.Context)
- func HandleFunctionContextQueryWithReferenceCount(c *gin.Context)
- func HandleFunctionContextQueryWithReferencedCount(c *gin.Context)
- func HandleFunctionContextUpload(c *gin.Context)
- func HandleFunctionContextsQuery(c *gin.Context)
- func HandleFunctionQueryWithRegex(c *gin.Context)
- func HandleFunctionQueryWithSignature(c *gin.Context)
- func HandleFunctionSignaturesQuery(c *gin.Context)
- func HandleFunctionUpload(c *gin.Context)
- func HandleFunctionsQuery(c *gin.Context)
- func HandlePing(c *gin.Context)
- func HandleRepoDelete(c *gin.Context)
- func HandleRepoQuery(c *gin.Context)
- func HandleRevDelete(c *gin.Context)
- func HandleRevQuery(c *gin.Context)
- func HandleRevStatQuery(c *gin.Context)
- func HandleStatusUpload(c *gin.Context)
- func HandleVersion(c *gin.Context)
- func InitService(_ object.ExecuteConfig, ctx context.Context, driver binding.Driver, ...)
- type RevStat
- type UploadStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleClazzQueryWithRegex ¶ added in v0.12.0
@Summary clazz query @Param repo query string true "repo" @Param rev query string true "rev" @Param field query string true "field" @Param regex query string true "regex" @Produce json @Success 200 {array} sibyl2.ClazzWithPath @Router /api/v1/clazz/with/regex [get] @Tags RegexQuery
func HandleClazzUpload ¶ added in v0.10.0
func HandleClazzesQuery ¶ added in v0.11.0
@Summary class query @Param repo query string true "repo" @Param rev query string true "rev" @Param file query string true "file" @Produce json @Success 200 {array} sibyl2.ClazzWithPath @Router /api/v1/clazz [get] @Tags BasicQuery
func HandleFileQuery ¶
@Summary file query @Param repo query string true "repo" @Param rev query string true "rev" @Param includeRegex query string false "includeRegex" @Produce json @Success 200 {array} string @Router /api/v1/file [get] @Tags Scope
func HandleFuncCtxQueryWithRegex ¶ added in v0.12.0
@Summary func ctx query @Param repo query string true "repo" @Param rev query string true "rev" @Param field query string true "field" @Param regex query string true "regex" @Produce json @Success 200 {array} sibyl2.FunctionContext @Router /api/v1/funcctx/with/regex [get] @Tags RegexQuery
func HandleFunctionContextQueryWithReferenceCount ¶ added in v0.12.0
@Summary funcctx query by ref @Param repo query string true "repo" @Param rev query string true "rev" @Param moreThan query int true "moreThan" @Param lessThan query int true "lessThan" @Produce json @Success 200 {array} sibyl2.FunctionContextSlim @Router /api/v1/funcctx/with/reference/count [get] @Tags ReferenceQuery
func HandleFunctionContextQueryWithReferencedCount ¶ added in v0.12.0
@Summary funcctx query by referenced @Param repo query string true "repo" @Param rev query string true "rev" @Param moreThan query int true "moreThan" @Param lessThan query int true "lessThan" @Produce json @Success 200 {array} sibyl2.FunctionContextSlim @Router /api/v1/funcctx/with/referenced/count [get] @Tags ReferenceQuery
func HandleFunctionContextsQuery ¶ added in v0.11.0
@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.FunctionContextSlim @Router /api/v1/funcctx [get] @Tags BasicQuery
func HandleFunctionQueryWithRegex ¶ added in v0.12.0
@Summary func query @Param repo query string true "repo" @Param rev query string true "rev" @Param field query string true "field" @Param regex query string true "regex" @Produce json @Success 200 {array} sibyl2.FunctionWithPath @Router /api/v1/func/with/regex [get] @Tags RegexQuery
func HandleFunctionQueryWithSignature ¶ added in v0.11.0
@Summary func query @Param repo query string true "repo" @Param rev query string true "rev" @Param signature query string true "signature" @Produce json @Success 200 {object} sibyl2.FunctionWithPath @Router /api/v1/func/with/signature [get] @Tags SignatureQuery
func HandleFunctionSignaturesQuery ¶ added in v0.11.0
@Summary func query @Param repo query string true "repo" @Param rev query string true "rev" @Param regex query string true "regex" @Produce json @Success 200 {array} string @Router /api/v1/func/signature [get] @Tags SignatureQuery
func HandleFunctionUpload ¶ added in v0.10.0
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 BasicQuery
func HandlePing ¶
@BasePath / @Summary ping example @Produce json @Success 200 @Router /ops/ping [get] @Tags Ops
func HandleRepoDelete ¶ added in v0.12.0
@Summary repo delete @Param repo query string true "rev delete by repo" @Produce json @Success 200 @Router /api/v1/repo [delete] @Tags Scope
func HandleRepoQuery ¶
@Summary repo query @Produce json @Success 200 {array} string @Router /api/v1/repo [get] @Tags Scope
func HandleRevDelete ¶ added in v0.12.0
@Summary rev delte @Param repo query string true "repo" @Param rev query string true "rev" @Produce json @Success 200 @Router /api/v1/rev [delete] @Tags Scope
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 Scope
func HandleRevStatQuery ¶ added in v0.12.0
@Summary rev stat @Param repo query string true "repo" @Param rev query string true "rev" @Produce json @Success 200 {object} RevStat @Router /api/v1/rev/stat [get] @Tags StatQuery
func HandleStatusUpload ¶
@BasePath / @Summary upload status query @Produce json @Success 200 @Router /ops/monitor/upload [get] @Tags Ops
func HandleVersion ¶ added in v0.11.0
@BasePath / @Summary sibyl version @Produce json @Success 200 @Router /ops/version [get] @Tags Ops