MCPcopy Index your code

hub / github.com/HuolalaTech/page-spy-api / functions

Functions375 in github.com/HuolalaTech/page-spy-api

↓ 34 callersMethodError
()
api/room/error.go:52
↓ 16 callersMethodClose
(ctx context.Context, code string)
api/event/event.go:75
↓ 16 callersMethodNew
()
rpc/util.go:10
↓ 15 callersMethodGet
(path string)
storage/api.go:38
↓ 14 callersMethodIsStatus
(s Status)
state/status_machine.go:28
↓ 14 callersFunctionNewSuccessResponse
(data interface{})
serve/common/api.go:49
↓ 12 callersFunctionLog
()
logger/log.go:11
↓ 12 callersMethodwriteWebsocketError
(errRes error)
serve/socket/socket.go:84
↓ 11 callersFunctionwriteResponse
(w http.ResponseWriter, res *common.Response)
serve/socket/socket.go:27
↓ 10 callersMethodCall
(ctx context.Context, serviceMethod string, args interface{}, reply interface{})
rpc/rpc_client.go:120
↓ 9 callersFunctionCount
Count count 打点
metric/metric.go:10
↓ 9 callersMethodDone
()
api/room/room.go:308
↓ 9 callersFunctionNewErrorResponse
(err error)
serve/common/api.go:14
↓ 8 callersFunctionNewRpcLocalRoomManagerRequest
()
room/rpc_local_manager.go:62
↓ 8 callersFunctionNewRpcLocalRoomManagerResponse
()
room/rpc_local_manager.go:30
↓ 8 callersMethodOpen
(name string)
static/public.go:20
↓ 8 callersMethodSetError
(err error)
api/room/error.go:21
↓ 7 callersMethodGetRoomAddress
()
api/room/room.go:291
↓ 7 callersMethodGetSelfMachineID
()
rpc/address.go:151
↓ 7 callersFunctionNewErrorResponseWithCode
NewErrorResponseWithCode 创建包含自定义错误码的错误响应
serve/common/api.go:32
↓ 6 callersMethodEmit
(ctx context.Context, address *Address, pkg *Package)
api/event/event.go:79
↓ 6 callersMethodGetInfo
()
api/room/room.go:292
↓ 6 callersFunctionNewErrorWithCode
(msg string, code ErrorCode)
api/room/error.go:63
↓ 6 callersMethodSetStatus
(s Status)
state/status_machine.go:24
↓ 6 callersMethodgetRpcByAddress
(address *event.Address)
room/rpc_remote_manager.go:37
↓ 6 callersFunctionroomMessageToPackage
(msg *room.Message, from *event.Address)
room/message.go:11
↓ 5 callersMethodEqual
(compare *Address)
api/event/event.go:24
↓ 5 callersMethodJoin
(ctx context.Context, connection *Connection, opt *Info)
api/room/room.go:315
↓ 5 callersFunctionTime
Time Time 打点
metric/metric.go:15
↓ 5 callersMethodgetLocalRoom
(opt *room.Info)
room/local_manager.go:134
↓ 5 callersMethodjoinPath
(id string)
storage/s3.go:21
↓ 4 callersMethodDeleteFile
(fileId string)
serve/route/core.go:237
↓ 4 callersFunctionFileExists
(path string)
util/fs.go:5
↓ 4 callersMethodIsClose
()
api/event/event.go:74
↓ 4 callersMethodListen
(ctx context.Context, pkg *Package)
api/event/event.go:73
↓ 4 callersMethodSendMessageWithTimeout
(msg *room.Message, timeout time.Duration)
room/local_room.go:266
↓ 4 callersMethodgetConnectionsWithLock
()
room/local_room.go:119
↓ 4 callersFunctiongetTags
(params url.Values)
serve/route/route.go:34
↓ 4 callersFunctionisEmptyArray
(a []string)
serve/middleware/cors.go:9
↓ 4 callersMethodnewSession
()
storage/s3.go:25
↓ 3 callersMethodCount
Count count 打点
metric/metric.go:26
↓ 3 callersMethodFindLogGroup
(groupId string)
data/api.go:8
↓ 3 callersMethodGetError
()
api/room/error.go:6
↓ 3 callersFunctionGetLocalIP
GetLocalIP 获取本机ip 获取失败返回 ""
util/ip.go:6
↓ 3 callersMethodGetLogDir
()
config/config.go:57
↓ 3 callersMethodGetMachineIpInfo
()
rpc/address.go:163
↓ 3 callersFunctionNewStatusMachine
()
state/status_machine.go:14
↓ 3 callersFunctionNotMessageType
(messageType string)
api/room/room.go:83
↓ 3 callersMethodRegist
(name string, api interface{})
rpc/rpc.go:49
↓ 3 callersMethodStart
(ctx context.Context)
api/room/room.go:305
↓ 3 callersMethodUpdate
(info *Info)
api/room/room.go:260
↓ 3 callersMethodWriteDataIgnoreError
(data interface{})
serve/socket/socket.go:55
↓ 3 callersFunctiongetLocalDataFilePath
()
data/db.go:28
↓ 3 callersMethodgetRooms
()
room/basic_manager.go:75
↓ 3 callersMethodremoveRoom
(room room.ManagerRoom)
room/basic_manager.go:92
↓ 2 callersMethodAddTask
(task *Task)
task/task.go:67
↓ 2 callersFunctionCallAllClient
(r *RpcManager, ctx context.Context, method string, req any, res T)
rpc/util.go:13
↓ 2 callersFunctionContainer
()
container/container.go:77
↓ 2 callersMethodCreateFile
(file *storage.LogFile)
serve/route/core.go:63
↓ 2 callersMethodCreateFileId
(md5 string)
serve/route/core.go:35
↓ 2 callersMethodCreateLocalRoom
(ctx context.Context, info *room.Info)
room/rpc_remote_manager.go:114
↓ 2 callersMethodCreateRoom
(ctx context.Context, info *room.Info)
room/rpc_remote_manager.go:118
↓ 2 callersMethodDesc
()
data/logs.go:41
↓ 2 callersMethodGeneratorConnectionAddress
()
rpc/address.go:127
↓ 2 callersMethodGeneratorLocalID
()
rpc/address.go:147
↓ 2 callersMethodGetFrom
()
data/db.go:286
↓ 2 callersMethodGetMachineIdByFileName
(name string)
serve/route/core.go:43
↓ 2 callersMethodGetOffset
()
data/db.go:275
↓ 2 callersMethodGetOrderValue
()
data/logs.go:27
↓ 2 callersMethodGetRoom
(ctx context.Context, info *room.Info)
room/rpc_remote_manager.go:169
↓ 2 callersMethodGetRoomUsers
()
api/room/room.go:314
↓ 2 callersMethodGetRooms
()
room/rpc_local_manager.go:42
↓ 2 callersMethodGetRpcByAddress
(address *event.Address)
rpc/rpc.go:36
↓ 2 callersMethodGetRpcList
()
rpc/rpc.go:40
↓ 2 callersMethodGetSelfAddress
()
rpc/address.go:159
↓ 2 callersMethodGetTo
()
data/db.go:296
↓ 2 callersFunctionInitJWTSecret
InitJWTSecret 初始化JWT密钥
serve/middleware/jwt.go:21
↓ 2 callersMethodIsRemoteStorage
()
config/config.go:83
↓ 2 callersMethodIsSelfMachine
(machineId string)
serve/route/core.go:39
↓ 2 callersMethodIsSelfMachineAddress
(address *event.Address)
rpc/address.go:155
↓ 2 callersMethodJoinRoom
(ctx context.Context, connection *room.Connection, opt *room.Info)
room/rpc_remote_manager.go:231
↓ 2 callersFunctionMD5
(data []byte)
util/byte.go:8
↓ 2 callersFunctionNewBasicManager
()
room/basic_manager.go:17
↓ 2 callersFunctionNewMessageContent
(messageType string)
api/room/room.go:104
↓ 2 callersFunctionNewTask
(name string, interval time.Duration, f func() error)
task/task.go:49
↓ 2 callersMethodProxy
(machineId string, c echo.Context)
proxy/proxy.go:23
↓ 2 callersMethodRead
(p []byte)
serve/route/core.go:55
↓ 2 callersMethodRemoveListener
(address *Address, listener Listener)
api/event/event.go:82
↓ 2 callersMethodSave
(path string, data io.ReadSeeker)
storage/api.go:36
↓ 2 callersMethodSaveLog
(log *LogFile)
storage/api.go:31
↓ 2 callersMethodSendMessage
(ctx context.Context, msg *room.Message)
room/local_room.go:244
↓ 2 callersMethodSetRooms
(rooms []room.Room)
room/rpc_local_manager.go:34
↓ 2 callersMethodShouldRemove
()
api/room/room.go:298
↓ 2 callersMethodWriteMessage
(messageType int, data []byte)
serve/socket/socket.go:51
↓ 2 callersMethodclose
()
room/basic_room.go:23
↓ 2 callersMethodgetLogDB
(db *gorm.DB)
data/db.go:330
↓ 2 callersMethodgetLogGroupDB
(db *gorm.DB)
data/db.go:306
↓ 2 callersFunctiongetQueryList
(c echo.Context)
serve/route/route.go:48
↓ 2 callersMethodgetRoom
(opt *room.Info)
room/basic_manager.go:85
↓ 2 callersFunctiongetTags
(query url.Values)
serve/socket/socket.go:291
next →1–100 of 375, ranked by callers