Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/HuolalaTech/page-spy-api
/ functions
Functions
375 in github.com/HuolalaTech/page-spy-api
⨍
Functions
375
◇
Types & classes
88
↓ 2 callers
Function
initDataFilePath
()
data/db.go:40
↓ 2 callers
Method
isEmpty
()
room/local_room.go:328
↓ 2 callers
Function
newAddressID
(localID string, machineID string)
rpc/address.go:19
↓ 2 callers
Function
newBasicRoom
()
room/basic_room.go:7
↓ 2 callers
Function
packageToRoomMessage
(pkg *event.Package)
room/message.go:26
↓ 2 callers
Method
start
()
room/basic_manager.go:118
↓ 1 callers
Method
CheckRoomSecret
(rw http.ResponseWriter, r *http.Request)
serve/socket/socket.go:412
↓ 1 callers
Method
CleanFileBySize
()
serve/route/core.go:269
↓ 1 callers
Method
CleanFileByTime
()
serve/route/core.go:246
↓ 1 callers
Method
Close
(ctx context.Context, code string)
room/remote_room.go:132
↓ 1 callers
Method
CountLogsGroup
(tagKey string)
data/api.go:12
↓ 1 callers
Method
CountLogsSize
()
data/api.go:20
↓ 1 callers
Method
CreateConnection
()
room/local_manager.go:40
↓ 1 callers
Method
CreateLog
(log *LogData)
data/api.go:13
↓ 1 callers
Method
CreateLogGroup
(logGroup *LogGroup)
data/api.go:6
↓ 1 callers
Method
CreateLogGroupFile
(file *storage.LogGroupFile)
serve/route/core.go:97
↓ 1 callers
Method
CreateRemoteRoom
(ctx context.Context, info *room.Info)
room/rpc_remote_manager.go:141
↓ 1 callers
Method
CreateRoom
(rw http.ResponseWriter, r *http.Request)
serve/socket/socket.go:308
↓ 1 callers
Method
DeleteLogByFileId
(fileId string)
data/api.go:16
↓ 1 callers
Method
DeleteLogGroup
(groupId string)
serve/route/core.go:158
↓ 1 callers
Method
DeleteLogGroupByGroupId
(groupId string)
data/api.go:10
↓ 1 callers
Method
EmitLocal
(ctx context.Context, address *Address, pkg *Package)
api/event/event.go:80
↓ 1 callers
Method
EmitLocal
(ctx context.Context, address *event.Address, pkg *event.Package)
event/local_event.go:90
↓ 1 callers
Method
Exist
(path string)
storage/api.go:37
↓ 1 callers
Method
Exist
(path string)
storage/file.go:48
↓ 1 callers
Method
Exist
(path string)
storage/s3.go:68
↓ 1 callers
Method
FindLogByFileId
(fileId string)
data/api.go:17
↓ 1 callers
Method
FindLogByFileId
(FileId string)
data/db.go:413
↓ 1 callers
Method
FindLogGroup
(groupId string)
data/db.go:207
↓ 1 callers
Method
FindLogGroups
(query *FileListQuery)
data/api.go:9
↓ 1 callers
Method
FindLogs
(query *FileListQuery)
data/api.go:14
↓ 1 callers
Method
FindOldestLogs
(size int)
data/api.go:19
↓ 1 callers
Method
FindTimeoutLogs
(before time.Time, size int)
data/api.go:18
↓ 1 callers
Method
ForceJoinRoom
(ctx context.Context, connection *room.Connection, opt *room.Info, roomOpt *room.Info)
room/rpc_remote_manager.go:209
↓ 1 callers
Method
GeneratorRoomAddress
()
rpc/address.go:137
↓ 1 callers
Method
Get
(path string)
storage/file.go:108
↓ 1 callers
Method
Get
(path string)
storage/s3.go:92
↓ 1 callers
Method
GetFile
(fileId string)
serve/route/core.go:219
↓ 1 callers
Method
GetFileList
(query *data.FileListQuery)
serve/route/core.go:207
↓ 1 callers
Function
GetJWTExpirationHours
GetJWTExpirationHours 获取JWT过期时间
serve/middleware/jwt.go:46
↓ 1 callers
Function
GetLocalIPList
()
util/ip.go:24
↓ 1 callers
Method
GetLog
(fileId string)
storage/api.go:32
↓ 1 callers
Method
GetLogGroupList
(query *data.FileListQuery)
serve/route/core.go:186
↓ 1 callers
Method
GetMaxLogFileSizeOfMB
()
config/config.go:95
↓ 1 callers
Method
GetMaxLogLifeTimeOfHour
()
config/config.go:87
↓ 1 callers
Method
GetMaxRoomNumber
()
config/config.go:103
↓ 1 callers
Method
GetPong
()
api/room/room.go:56
↓ 1 callers
Method
GetRoom
(ctx context.Context, opt *room.Info)
room/local_manager.go:115
↓ 1 callers
Method
GetRooms
()
room/local_manager.go:58
↓ 1 callers
Method
GetRoomsByGroup
(ctx context.Context, tags map[string]string)
room/rpc_remote_manager.go:70
↓ 1 callers
Function
GetSelfAddress
(c *config.Config)
rpc/address.go:48
↓ 1 callers
Function
InitContainer
()
container/container.go:18
↓ 1 callers
Function
InitData
(cfg *config.Config, gormConfig *gorm.Config)
data/db.go:54
↓ 1 callers
Function
InitDefault
()
container/container.go:91
↓ 1 callers
Function
IsPasswordSet
IsPasswordSet 检查是否已设置密码
serve/middleware/auth.go:55
↓ 1 callers
Method
JoinRoom
(rw http.ResponseWriter, r *http.Request)
serve/socket/socket.go:343
↓ 1 callers
Method
Leave
(ctx context.Context, connection *Connection, opt *Info)
api/room/room.go:316
↓ 1 callers
Method
LeaveRoom
(ctx context.Context, opt *room.Info, connection *room.Connection)
room/local_manager.go:161
↓ 1 callers
Method
ListFilesInGroup
(groupId string)
serve/route/core.go:198
↓ 1 callers
Method
ListRooms
(rw http.ResponseWriter, r *http.Request)
serve/socket/socket.go:280
↓ 1 callers
Method
Merge
(result MergeResult)
rpc/util.go:9
↓ 1 callers
Function
NewAddressFromID
(id string)
api/event/event.go:32
↓ 1 callers
Function
NewCloseMessage
(roomAddress event.Address, reason string)
api/room/room.go:162
↓ 1 callers
Function
NewError
(msg string)
api/room/error.go:56
↓ 1 callers
Function
NewErrorMessage
(err error)
serve/socket/error.go:17
↓ 1 callers
Function
NewFallbackFS
(fs fs.FS, fallback string)
static/public.go:13
↓ 1 callers
Function
NewFileApi
()
storage/api.go:53
↓ 1 callers
Function
NewJoinMessage
(connection *Connection)
api/room/room.go:195
↓ 1 callers
Function
NewLeaveMessage
(connection *Connection)
api/room/room.go:187
↓ 1 callers
Function
NewLocalEventEmitter
(addressManager *rpc.AddressManager, rpcManager *rpc.RpcManager)
event/local_event.go:12
↓ 1 callers
Function
NewLocalRoom
(opt *room.Info, event event.EventEmitter, addressManager *rpc.AddressManager)
room/local_room.go:17
↓ 1 callers
Function
NewLocalRoomManager
(event event.EventEmitter, addressManager *rpc.AddressManager, maxRoomSize int64)
room/local_manager.go:17
↓ 1 callers
Function
NewLocalRpcRoomManager
(localRoomManager *LocalRoomManager, rpcManager *rpc.RpcManager)
room/rpc_local_manager.go:16
↓ 1 callers
Function
NewPingMessage
(from event.Address)
api/room/room.go:141
↓ 1 callers
Function
NewRemoteRoom
(connection *room.Connection, opt *room.Info, eventEmitter event.EventEmitter, rpcRoom room.RpcRoom)
room/remote_room.go:15
↓ 1 callers
Function
NewRemoteRpcRoomManager
(addressManager *localRpc.AddressManager, rpcManager *localRpc.RpcManager, event event.EventEmitter, localR
room/rpc_remote_manager.go:15
↓ 1 callers
Function
NewRpcClient
(address string)
rpc/rpc_client.go:27
↓ 1 callers
Function
NewRpcCore
(coreApi *CoreApi)
serve/route/core.go:341
↓ 1 callers
Function
NewRpcEventEmitter
(localEventEmitter event.EventEmitter, rpcManager *rpc.RpcManager)
event/rpc_event.go:37
↓ 1 callers
Function
NewRpcEventEmitterRequest
()
event/rpc_event.go:23
↓ 1 callers
Function
NewRpcEventEmitterResponse
()
event/rpc_event.go:33
↓ 1 callers
Function
NewS3Api
(config *config.StorageConfig)
storage/api.go:49
↓ 1 callers
Function
NewStartMessage
(roomAddress event.Address)
api/room/room.go:154
↓ 1 callers
Method
OnMessage
()
room/local_room.go:276
↓ 1 callers
Method
OnMessage
()
api/room/room.go:307
↓ 1 callers
Function
ParseToken
ParseToken 解析和验证JWT令牌
serve/middleware/jwt.go:90
↓ 1 callers
Method
Ping
()
room/local_room.go:160
↓ 1 callers
Method
ReadJSON
(v interface{})
serve/socket/socket.go:80
↓ 1 callers
Method
RemoveListener
(address *event.Address, listener event.Listener)
event/local_event.go:44
↓ 1 callers
Method
RemoveLog
(fileId string)
storage/api.go:34
↓ 1 callers
Function
Run
()
serve/run.go:10
↓ 1 callers
Method
Run
()
rpc/rpc.go:63
↓ 1 callers
Method
Save
(path string, data io.ReadSeeker)
storage/s3.go:39
↓ 1 callers
Method
SendMessage
(ctx context.Context, msg *Message)
api/room/room.go:306
↓ 1 callers
Method
Star
()
task/task.go:33
↓ 1 callers
Method
Start
()
room/local_manager.go:35
↓ 1 callers
Method
Start
()
room/rpc_remote_manager.go:49
↓ 1 callers
Function
Summary
Time Time 打点
metric/metric.go:20
↓ 1 callers
Method
Summary
Time Time 打点
metric/metric.go:32
↓ 1 callers
Method
Time
Time Time 打点
metric/metric.go:29
← previous
next →
101–200 of 375, ranked by callers