MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / SuccessResp

Function SuccessResp

server/common/common.go:107–109  ·  view source on GitHub ↗
(c *gin.Context, data ...interface{})

Source from the content-addressed store, hash-verified

105}
106
107func SuccessResp(c *gin.Context, data ...interface{}) {
108 SuccessWithMsgResp(c, "success", data...)
109}
110
111func SuccessWithMsgResp(c *gin.Context, msg string, data ...interface{}) {
112 var respData interface{}

Callers 15

GetHandleMethod · 0.92
SendHandleMethod · 0.92
FsGetDirectUploadInfoFunction · 0.92
BuildIndexFunction · 0.92
UpdateIndexFunction · 0.92
StopIndexFunction · 0.92
ClearIndexFunction · 0.92
GetProgressFunction · 0.92
ListStoragesFunction · 0.92
CreateStorageFunction · 0.92
UpdateStorageFunction · 0.92
DeleteStorageFunction · 0.92

Calls 1

SuccessWithMsgRespFunction · 0.85

Tested by

no test coverage detected