MCPcopy Create free account

hub / github.com/sipcapture/homer / functions

Functions4,264 in github.com/sipcapture/homer

↓ 16 callersFunctionsettingsDBExec
(ctx context.Context, db *sql.DB, query string)
src/coordinator/services/settings_db_query.go:58
↓ 15 callersMethodBytes
Bytes returns the complete PCAP file contents.
src/pcapwriter/writer.go:71
↓ 15 callersMethodString
()
src/sipparser/parser.go:47
↓ 15 callersFunctionassert
(condition, text)
src/ui/public/game/websockets-doom.js:577
↓ 15 callersMethodclear
()
src/ui/src/dashboard/context/DashboardContext.tsx:86
↓ 15 callersFunctiondrainOne
drainOne reads exactly one frame with a small timeout so tests don't hang on misrouted messages.
src/coordinator/games/netris/hub_test.go:42
↓ 15 callersFunctionfindEventTarget
(target)
src/ui/public/game/websockets-doom.js:5784
↓ 15 callersFunctiongetTableName
getTableName returns the DuckLake table name based on proto_type and transaction_type
src/coordinator/handlers/search.go:349
↓ 15 callersFunctionkvStr
(k, v string)
examples/otlp_synthetic/main.go:481
↓ 15 callersFunctionsovHep
(x uint64)
src/decoder/hep.pb.go:496
↓ 15 callersFunctiontoInt64
(value interface{})
src/coordinator/services/helpers.go:31
↓ 15 callersFunctionuint32Field
(m map[string]interface{}, key string)
src/lineprotoreceiver/hep_sip_call_lp.go:99
↓ 14 callersFunctionParseMsgZeroCopy
ParseMsgZeroCopy parses a SIP message from raw bytes with minimal allocations. String fields reference the original buffer via unsafe; keep data alive
src/sipparser/zerocopy.go:53
↓ 14 callersMethoddisconnect
()
src/ui/src/test/setup.ts:22
↓ 14 callersFunctionencodeVarintHep
(dAtA []byte, offset int, v uint64)
src/decoder/hep.pb.go:366
↓ 14 callersFunctionfindLastMatchIndex
(s: string, re: RegExp)
src/ui/src/components/ui/sql-lake-column-completion.ts:43
↓ 14 callersFunctionmakeBag
()
src/ui/src/dashboard/widgets/tetrisCore.ts:130
↓ 14 callersFunctionparseUci
(uci: string)
src/ui/src/dashboard/widgets/chessCore.ts:95
↓ 14 callersFunctionsettingsDBQuery
settingsDBQuery runs a SELECT and returns rows as []map[string]interface{} for parity with FlightService.Query.
src/coordinator/services/settings_db_query.go:18
↓ 14 callersFunctionstringField
stringField returns the named field as a trimmed string, or "" when missing / nil. Mirrors the helper pattern used by other v4 handlers.
src/coordinator/handlers/lineproto_v4.go:325
↓ 14 callersFunctionuseLocale
()
src/ui/src/components/locale/locale-provider.tsx:101
↓ 13 callersFunctionClampLimit
ClampLimit bounds limit to [1, maxLimit], using defaultLimit when limit <= 0.
src/storage/ducklake/validation.go:93
↓ 13 callersMethodSetReadDeadline
(t time.Time)
src/server/tls.go:362
↓ 13 callersFunctiondisplayOf
(p *Player)
src/coordinator/games/netchess/hub.go:918
↓ 13 callersFunctionsearchStoreKey
(config?: { protocol_id?: { value?: unknown } protocol_profile?: string fields?: unknown[] })
src/ui/src/dashboard/stores/search-store.ts:70
↓ 13 callersFunctionturn
(game: Chess)
src/ui/src/dashboard/widgets/chessCore.ts:236
↓ 13 callersFunctionuseConfirm
()
src/ui/src/components/ui/confirm-dialog.tsx:23
↓ 12 callersMethodEnd
()
src/server/server.go:233
↓ 12 callersMethodName
Name returns the schema name
src/flight/catalog.go:116
↓ 12 callersMethodString
String returns string representation of TableKey
src/storage/ducklake/tables.go:55
↓ 12 callersFunctionchunk
(vendor: int, type_id: int, body: bytes)
scripts/send_hep3_loadtest.py:11
↓ 12 callersFunctionhandleConfig
(partial: Partial<DataChartConfig>)
src/ui/src/dashboard/widgets/DataChartPanel.tsx:444
↓ 12 callersFunctionnewGUID
()
src/coordinator/services/user_settings_service.go:306
↓ 12 callersFunctionnstr
(s string)
src/storage/ducklake/compactor/compactor_test.go:10
↓ 12 callersMethodputPacketBuf
putPacketBuf returns a buffer to the shared ingest pool.
src/server/server.go:107
↓ 12 callersFunctionsearch
(fen: string, opts: SearchOptions)
src/ui/src/dashboard/widgets/chessEngine.ts:303
↓ 12 callersFunctiontextField
(id, label, type = 'text', placeholder = '')
src/ui/src/dashboard/widgets/SearchPanel.tsx:536
↓ 11 callersMethodCorrelate
(ctx context.Context, in CorrelationInput)
src/coordinator/handlers/search.go:33
↓ 11 callersMethodDecode
Decode parses a HEP packet using this decoder's configuration
src/decoder/decoder.go:173
↓ 11 callersFunctionNewHub
NewHub builds an empty hub with the supplied config. The RNG is seeded from the wall clock; tests should call SeedRNG.
src/coordinator/games/netchess/hub.go:81
↓ 11 callersMethodReset
please upgrade the proto package
src/decoder/hep.pb.go:45
↓ 11 callersMethodSetWriteDeadline
(t time.Time)
src/server/tls.go:366
↓ 11 callersFunctionapiDelete
(path: string)
src/ui/src/api.ts:147
↓ 11 callersFunctionapiPut
(path: string, body?: unknown)
src/ui/src/api.ts:111
↓ 11 callersFunctionchunk
(vendor uint16, chunkType uint16, body []byte)
src/cmd/hepudpload/main.go:14
↓ 11 callersFunctioncollides
(board: Board, piece: ActivePiece)
src/ui/src/dashboard/widgets/tetrisCore.ts:149
↓ 11 callersFunctiondisplaySrcIp
(row: Record<string, unknown> | null | undefined)
src/ui/src/lib/ipAliasDisplay.ts:5
↓ 11 callersMethodenrichRowsWithIPAliases
enrichRowsWithIPAliases resolves src_ip/dst_ip into aliasSrc/aliasDst on each row. Safe when aliasService is nil or the query fails (rows unchanged ex
src/coordinator/handlers/ip_alias_enrich.go:16
↓ 11 callersMethodflush
(protocol string)
src/server/server.go:293
↓ 11 callersFunctiongetAuthToken
()
src/ui/src/lib/authTokenStorage.ts:88
↓ 11 callersFunctionhandleChange
(e)
src/ui/src/dashboard/widgets/NotePanel.tsx:7
↓ 11 callersFunctionjsonOrNull
jsonOrNull returns "{}" for empty input so DuckDB JSON column never gets NULL.
src/cli/migrate_settings.go:196
↓ 11 callersFunctionnewTestEngine
(t *testing.T, script string, exec SQLExecutor)
src/scripting/correlation/engine_test.go:50
↓ 11 callersMethodobserve
()
src/ui/src/test/setup.ts:20
↓ 11 callersFunctionparseLimit
(c echo.Context)
src/coordinator/handlers/agent_subscriptions_v4.go:300
↓ 11 callersFunctionuseDashboard
()
src/ui/src/dashboard/context/DashboardContext.tsx:370
↓ 10 callersMethodAuthenticate
Authenticate validates username and password against the users table only.
src/coordinator/services/user_service.go:56
↓ 10 callersMethodDelete
(ctx context.Context, guid string)
src/coordinator/services/alias_service.go:259
↓ 10 callersMethodEnqueuePacket
EnqueuePacket adds a packet to the processing queue
src/writer/writer.go:577
↓ 10 callersFunctionNewHub
NewHub builds an empty hub with the supplied config. A separate rng with a stable seed is allocated so the same Hub gives deterministic garbage hole c
src/coordinator/games/netris/hub.go:72
↓ 10 callersFunctionParseLineProtocol
ParseLineProtocol parses a block of text containing zero or more InfluxDB Line Protocol records. Empty lines and comment lines (starting with '#') are
src/lineprotoreceiver/parser.go:96
↓ 10 callersFunctionParseURI
ParseURI is NewURI ... but also parses it
src/sipparser/uri.go:74
↓ 10 callersMethodSubscribe
Subscribe registers a new consumer. The returned channel yields events that match f; the cancel func unregisters the subscriber and closes the channel
src/stream/hepstream/broker.go:157
↓ 10 callersFunctioncellFromRow
(row map[string]interface{}, keys ...string)
src/coordinator/handlers/transaction_view_page.go:370
↓ 10 callersFunctiondisplayDstIp
(row: Record<string, unknown> | null | undefined)
src/ui/src/lib/ipAliasDisplay.ts:13
↓ 10 callersFunctionextractXR
Helper functions
src/utils/metrics/sip_metrics.go:513
↓ 10 callersFunctionmkEvent
(proto uint32, method, callid string)
src/stream/hepstream/broker_test.go:17
↓ 10 callersFunctionnullIfEmpty
(v string)
src/mcp/mcp.go:620
↓ 10 callersFunctionparseBool
(s string)
src/cli/wizard_cmd.go:862
↓ 10 callersFunctionpgTableExists
pgTableExists returns true if `<table>` is present in the source database. homer-app installs may not have every table (e.g. fresh install without aut
src/cli/migrate_settings.go:141
↓ 10 callersMethodrecord
(pktSize int)
src/server/ingest_metrics.go:37
↓ 10 callersFunctionsaveLS
(key, value)
src/ui/src/dashboard/widgets/ResultsPanel.tsx:109
↓ 10 callersFunctionsettingsEditTitle
( category: string | number | undefined | null, name: string | number | undefined | null, action = 'Edit
src/ui/src/settings/CrudTable.tsx:235
↓ 10 callersFunctionunsizedKind
(v reflect.Value)
src/scripting/luar/proxy.go:225
↓ 10 callersFunctionvalueToComplex
(L *lua.State, v reflect.Value)
src/scripting/luar/proxy.go:253
↓ 10 callersFunctionwriteJSON
(w http.ResponseWriter, status int, data interface{})
src/node/node.go:1404
↓ 9 callersMethodGetLakeName
GetLakeName returns the DuckLake catalog name
src/storage/ducklake/manager.go:260
↓ 9 callersFunctionNewIPAliasMap
NewIPAliasMap builds a lookup table from active alias rows (status should be true). Rows that fail to convert into a CIDR prefix or carry an empty al
src/coordinator/services/alias_map.go:43
↓ 9 callersFunctionbuildSearchSQLV4WithOpts
(lakeName string, req *SearchObjectV4, virtualRules map[string]services.VirtualFieldRule, opts searchSQLOpts)
src/coordinator/handlers/transactions_v4.go:2589
↓ 9 callersFunctioneffectiveSearchLimit
effectiveSearchLimit mirrors the LIMIT clamp applied by the SQL builders.
src/coordinator/handlers/transactions_v4.go:2578
↓ 9 callersFunctionescapeLiteral
(value string)
src/coordinator/handlers/statistics_v4.go:233
↓ 9 callersFunctionextractByRegex
(text, pattern string)
src/coordinator/handlers/transactions_v4.go:2328
↓ 9 callersFunctionfirstNonEmpty
(...vals: (string | null | undefined)[])
src/ui/src/dashboard/searchDeepLink.ts:79
↓ 9 callersMethodflush
(protocol string)
src/writer/writer.go:617
↓ 9 callersFunctionfmtVal
---- helpers ---------------------------------------------------------------
src/cli/formatters.go:813
↓ 9 callersFunctiongetParam
getParam is just a convenience function to pass a string and get a *Param
src/sipparser/params.go:30
↓ 9 callersFunctiongetStr
(item map[string]interface{}, key string)
src/cli/formatters.go:659
↓ 9 callersMethodoauthRedirectWithError
(c echo.Context, provider *OAuthProvider, detail string)
src/coordinator/handlers/auth_oauth_code.go:183
↓ 9 callersFunctionoauthStringClaim
(m map[string]interface{}, key string)
src/coordinator/handlers/auth_oauth_code.go:323
↓ 9 callersFunctionparseDoomFrameMessage
(data: unknown)
src/ui/src/dashboard/widgets/doomWad.ts:60
↓ 9 callersMethodparseQuery
parseQuery converts a natural-language query into a structured searchPayload. Strategy is controlled by parserHint: - "regex": always use the determin
src/mcp/mcp.go:372
↓ 9 callersFunctionrowGetStringCI
(row map[string]interface{}, want string)
src/coordinator/services/alias_service.go:330
↓ 9 callersFunctionspanKey
(row)
src/ui/src/dashboard/OTLPTraceModal.tsx:20
↓ 9 callersFunctionstrKV
(k, v string)
src/storage/ducklake/otlp_storage_test.go:284
↓ 8 callersMethodAddModule
(m Module)
src/main.go:231
↓ 8 callersMethodCount
Count returns the number of packets in the buffer
src/flight/hep_table.go:275
↓ 8 callersMethodList
(ctx context.Context, filters AliasListFilters)
src/coordinator/services/alias_service.go:145
↓ 8 callersFunctionNewHEPInput
()
src/server/server.go:113
↓ 8 callersMethodPrimary
Primary returns the first shard (used for schema queries, table creation, etc.)
src/storage/ducklake/sharded_writer.go:112
↓ 8 callersFunctionRepairCatalogSnapshots
RepairCatalogSnapshots removes duplicate metadata rows from a DuckLake SQLite catalog that produce the fatal "Corrupt DuckLake - multiple snapshots re
src/storage/ducklake/repair.go:109
← previousnext →101–200 of 4,264, ranked by callers