MCPcopy Create free account

hub / github.com/sipcapture/homer / functions

Functions4,264 in github.com/sipcapture/homer

↓ 8 callersMethodScan
Scan executes a query across all volumes using UNION ALL and returns Arrow record reader
src/node/catalog.go:387
↓ 8 callersFunctionValidateTableKey
ValidateTableKey checks that key is in the static GetTableSchemas allowlist.
src/storage/ducklake/validation.go:45
↓ 8 callersFunctioncreateTestHepCallTable
(t *testing.T, db *sql.DB, lake string)
src/lineprotoreceiver/ingest_test.go:51
↓ 8 callersFunctionduckDBHasGUID
duckDBHasGUID checks whether a row with the given guid exists in `<table>`.
src/cli/migrate_settings.go:165
↓ 8 callersFunctionextractOrderLimit
extractOrderLimit splits a SQL query into the base query, ORDER BY clause, and LIMIT clause. It handles the common pattern used by buildSearchSQLV4.
src/node/node.go:1233
↓ 8 callersFunctionfinish
(byteArray)
src/ui/public/game/websockets-doom.js:3732
↓ 8 callersFunctionfirstNonEmpty
firstNonEmpty returns the first non-empty string from the provided values.
src/coordinator/handlers/transactions_v4.go:2937
↓ 8 callersFunctiongetColumns
getColumns extracts column names from results
src/coordinator/handlers/search.go:509
↓ 8 callersFunctionisJsonDisplayable
(val: unknown)
src/ui/src/lib/jsonDisplay.ts:62
↓ 8 callersFunctionisValidFen
(fen: string)
src/ui/src/dashboard/widgets/chessCore.ts:83
↓ 8 callersFunctionitoa
itoa keeps the test SQL legible without pulling strconv into the scope of every assertion.
src/coordinator/services/lp_mapping_sync_test.go:279
↓ 8 callersFunctionlengthBytesUTF8
(str)
src/ui/public/game/websockets-doom.js:756
↓ 8 callersFunctionloadLS
(key, fallback)
src/ui/src/dashboard/widgets/ResultsPanel.tsx:105
↓ 8 callersFunctionlpTestCfg
()
src/lineprotoreceiver/ingest_test.go:55
↓ 8 callersFunctionminimalSIP
minimalSIP returns a minimal valid INVITE with extra header lines after CSeq.
src/sipparser/zerocopy_opts_test.go:13
↓ 8 callersFunctionmustHex
(s string, want int)
examples/otlp_synthetic/main.go:471
↓ 8 callersFunctionnewIngestReceiveMetrics
(protocol string)
src/server/ingest_metrics.go:28
↓ 8 callersFunctionnewTestHTTPServer
newTestHTTPServer returns an httpServer wired to httptest, plus the underlying captureSink. The returned httptest.Server runs the same mux the product
src/otlpreceiver/http_test.go:60
↓ 8 callersFunctionnewTestServer
newTestServer wires the real HTTP mux on top of a fresh in-memory DuckDB so tests exercise the full handler → ingester → DuckDB path.
src/lineprotoreceiver/http_test.go:21
↓ 8 callersFunctionotlpAttrsToMap
otlpAttrsToMap flattens an OTLP attribute slice into a string-keyed map of native Go values for JSON encoding. Nested arrays / kvlists are walked recu
src/storage/ducklake/otlp_storage.go:490
↓ 8 callersFunctionparseUint32HEPField
parseUint32HEPField parses a decimal string into uint32 (CodeQL: avoid Atoi→uint32 truncation).
src/scripting/luaengine.go:214
↓ 8 callersFunctionpickStr
(obj: Record<string, unknown> | null | undefined, ...keys: string[])
src/ui/src/dashboard/ExportTab.tsx:26
↓ 8 callersFunctionpushGoMethod
(L *lua.State, name string, v reflect.Value)
src/scripting/luar/proxy.go:169
↓ 8 callersFunctionresolvedSessionIDList
resolvedSessionIDList returns normalized ids from session_ids (priority) or a single session_id.
src/coordinator/handlers/transactions_v4.go:381
↓ 8 callersFunctionrunSelectQuery
(ctx context.Context, db *sql.DB, query string)
src/node/node.go:507
↓ 8 callersFunctiontimeRangeLogicalKey
(range?: DashboardTimeRange | null)
src/ui/src/dashboard/utils/resolveTimeRange.ts:178
↓ 8 callersFunctiontoJSONRaw
(value interface{})
src/coordinator/services/helpers.go:14
↓ 7 callersMethodGetVolumes
GetVolumes returns all configured volumes
src/storage/ducklake/tiered_storage.go:269
↓ 7 callersMethodHas
(hepid int, profile string)
src/coordinator/handlers/search.go:32
↓ 7 callersFunctionNewBroker
NewBroker returns a Broker configured from cfg. If cfg.Enable is false, NewBroker returns nil — callers must treat nil as "no broker configured" and s
src/stream/hepstream/broker.go:79
↓ 7 callersFunctionNewLLMClient
NewLLMClient returns an OpenAI-compatible chat-completions client when the LLM bridge is enabled, or nil otherwise. The returned client is safe for co
src/mcp/llm.go:95
↓ 7 callersFunctionNewUserService
NewUserService creates a new user service
src/coordinator/services/user_service.go:51
↓ 7 callersFunctionPickMove
PickMove returns the best legal move on `game.Position()` using a shallow (depth-1) greedy search: for each candidate, play it and pick the one that m
src/coordinator/games/chess/engine.go:91
↓ 7 callersFunctionSanitizeIdent
SanitizeIdent returns a DuckDB-safe identifier by replacing any character that is not ASCII alphanumeric or underscore with '_'. Identifiers beginning
src/lineprotoreceiver/ingest.go:430
↓ 7 callersMethodSize
Size returns the number of CIDR prefixes loaded into the LPM table. Each prefix may carry multiple alias entries (port- or capture-scoped); this only
src/coordinator/services/alias_map.go:146
↓ 7 callersMethodUpdate
(job exportJob)
src/coordinator/handlers/exports_store.go:58
↓ 7 callersFunctionValidateWhereClause
ValidateWhereClause ensures where is a safe subset of SQL (column op literal predicates).
src/storage/ducklake/validation.go:129
↓ 7 callersFunctionauthHeaders
()
src/ui/src/api.ts:26
↓ 7 callersMethodbroadcast
broadcast sends an envelope to both players and all spectators in the room. Caller holds hub.mu.
src/coordinator/games/netchess/hub.go:894
↓ 7 callersFunctionbuildExportExcludeIPClause
buildExportExcludeIPClause appends AND conditions so rows with src_ip or dst_ip matching any listed address are omitted from export (Homer 7 export ex
src/coordinator/handlers/transactions_v4.go:1661
↓ 7 callersFunctionbuildSimpleExtraJSONCell
uint32 -> json.RawMessage buildSimpleExtraJSONCell builds a minimal extra JSON cell for non-SIP packets. Result is cached since version and proto_type
src/storage/ducklake/hep_adapter.go:671
↓ 7 callersFunctioncanViewSection
(role, sectionKey)
src/ui/src/settings/permissions.ts:58
↓ 7 callersFunctionchatJSON
(content string)
src/mcp/llm_test.go:21
↓ 7 callersFunctioncheckWadAvailable
( fetchImpl: typeof fetch = fetch, )
src/ui/src/dashboard/widgets/doomWad.ts:23
↓ 7 callersFunctioncommonKind
(v1, v2 reflect.Value)
src/scripting/luar/proxy.go:38
↓ 7 callersFunctiondisplayOf
(p *Player)
src/coordinator/games/netris/hub.go:485
↓ 7 callersFunctionemptyBoard
()
src/ui/src/dashboard/widgets/tetrisCore.ts:121
↓ 7 callersMethodexecWithRetry
(query string, args ...any)
src/writer/compaction.go:868
↓ 7 callersFunctionexprTypeName
(t ExprType)
src/coordinator/sqlvalidator/validator.go:458
↓ 7 callersFunctiongetName
(s string)
src/sipparser/utils.go:158
↓ 7 callersFunctiongetRowSlice
getRowSlice returns a recycled or fresh []interface{} with len=n.
src/storage/ducklake/tables.go:429
↓ 7 callersFunctiongetSetting
(t *testing.T, db *sql.DB, name string)
src/storage/ducklake/tuning_test.go:166
↓ 7 callersFunctiongoToLua
(L *lua.State, a interface{}, proxify bool, visited visitor)
src/scripting/luar/luar.go:271
↓ 7 callersFunctionhandler
(e: MouseEvent)
src/ui/src/dashboard/components/MultiSelectInput.tsx:33
↓ 7 callersFunctionhostKey
( ip: string, port: number | string, grouping: HostGrouping, row?: Record<string, unknown>, side?: '
src/ui/src/dashboard/flow/flow-data.ts:186
↓ 7 callersFunctionisWadMagic
(bytes: Uint8Array)
src/ui/src/dashboard/widgets/doomWad.ts:40
↓ 7 callersFunctionluaDesc
(L *lua.State, idx int)
src/scripting/luar/luar.go:48
↓ 7 callersFunctionnormalizeJSON
(raw json.RawMessage)
src/coordinator/handlers/mappings_v4.go:471
↓ 7 callersFunctionopenTestCatalog
(t *testing.T, path string)
src/storage/ducklake/repair_test.go:12
↓ 7 callersFunctionparseError
(res: Response)
src/ui/src/api.ts:38
↓ 7 callersMethodparseFrom
(str string)
src/sipparser/parser.go:439
↓ 7 callersFunctionparseWallClockToMs
( year: number, month: number, day: number, hour: number, minute: number, second: number, tz: st
src/ui/src/dashboard/utils/resolveTimeRange.ts:20
↓ 7 callersFunctionrowTimeMs
(val)
src/ui/src/dashboard/OTLPTraceModal.tsx:28
↓ 7 callersFunctionsipRawFromMessage
(msg: Record<string, unknown>)
src/ui/src/dashboard/flow/sip-flow-label.ts:2
↓ 7 callersFunctionstatus
(game: Chess)
src/ui/src/dashboard/widgets/chessCore.ts:224
↓ 7 callersFunctionstringFieldRow
stringFieldRow / intFieldRow are local copies of the helpers in handlers/lineproto_v4.go. We don't import the handlers package from services to keep t
src/coordinator/services/lp_mapping_sync.go:493
↓ 7 callersFunctiontransactionSearchChunkable
transactionSearchChunkable reports whether a search request can be executed as independent newest-first time slices with early exit. Aggregations, cus
src/coordinator/handlers/transactions_v4.go:588
↓ 7 callersMethodwithCatalogLock
withCatalogLock runs fn while holding the catalog lock.
src/writer/compaction.go:328
↓ 7 callersFunctionwriteBestScoreIfHigher
(gameId: string, score: number)
src/ui/src/dashboard/widgets/gameScoreStorage.ts:17
↓ 6 callersMethodCalleeUser
CalleeUser returns the party stored as callee / to_user. Request-URI user is preferred when present; otherwise the To header user is used (responses a
src/sipparser/parties.go:10
↓ 6 callersFunctionEnsureBootstrapAdminUser
EnsureBootstrapAdminUser inserts the admin user once when coordinator.auth is the JSON string "internal" and no row exists for username. If a row alre
src/coordinator/services/auth_bootstrap.go:39
↓ 6 callersMethodGetDB
GetDB returns the primary shard's DuckDB connection (for compaction/maintenance)
src/storage/ducklake/manager.go:255
↓ 6 callersMethodGetTableNames
GetTableNames returns all table names in a volume
src/storage/ducklake/tiered_storage.go:430
↓ 6 callersMethodGetUserByUsername
GetUserByUsername retrieves a user by username from DuckDB
src/coordinator/services/user_service.go:73
↓ 6 callersFunctionLS_KEY_ORDER
(id, proto, event)
src/ui/src/dashboard/widgets/ResultsPanel.tsx:101
↓ 6 callersMethodListDashboards
(ctx context.Context, username string)
src/coordinator/services/dashboard_service.go:30
↓ 6 callersMethodListenAndServe
ListenAndServe binds UDP/TCP and blocks until ctx is cancelled.
src/vqrtcpreceiver/server.go:104
↓ 6 callersFunctionNewHEPTable
NewHEPTable creates a new HEP table with a ring buffer
src/flight/hep_table.go:32
↓ 6 callersFunctionNewLuaObject
NewLuaObject creates a new LuaObject from stack index.
src/scripting/luar/luaobject.go:27
↓ 6 callersFunctionNewMultiTableReader
NewMultiTableReader creates a reader for multi-table writer
src/storage/ducklake/timetravel.go:261
↓ 6 callersMethodRemoteAddr
()
src/server/tls.go:354
↓ 6 callersMethodResetDashboards
(ctx context.Context, username string)
src/coordinator/services/dashboard_service.go:178
↓ 6 callersFunctionSanitiseDisplayName
SanitiseDisplayName trims and caps the override display name a client can send via Hello. The JWT-derived username is still the source of truth in mat
src/coordinator/games/netris/protocol.go:139
↓ 6 callersMethodSize
()
src/decoder/hep.pb.go:468
↓ 6 callersMethodStop
Stop stops the writer, flushes remaining data, and waits for all flush goroutines to finish.
src/storage/ducklake/ducklake.go:680
↓ 6 callersFunctionUTF8ArrayToString
(heap, idx, maxBytesToRead)
src/ui/public/game/websockets-doom.js:678
↓ 6 callersFunctionValidateLokiCustomLabelKey
ValidateLokiCustomLabelKey checks allowlist membership, reserved names, and Loki-style key syntax.
src/remotelog/loki_custom_labels.go:54
↓ 6 callersFunctionValidateUCI
ValidateUCI parses `uci` against the position in `game` and returns the matching notnil/chess move pointer. Used by both the LLM-move path (to validat
src/coordinator/games/chess/engine.go:178
↓ 6 callersMethodWrite
Write is a no-op stub for the deprecated Writer. Use MultiTableWriter instead.
src/storage/ducklake/ducklake.go:229
↓ 6 callersMethodWriteHEP
WriteHEP writes a HEP packet to the appropriate table based on proto_type
src/storage/ducklake/manager.go:125
↓ 6 callersFunctionbuildExtraJSONCell
buildExtraJSONCell returns a value suitable for row data_extra column. Either a cached json.RawMessage or *([]byte) (pooled; released in putRowSlice).
src/storage/ducklake/hep_adapter.go:599
↓ 6 callersFunctionbuildFlow
(items: RawMessage[] | null | undefined, opts: BuildOpts)
src/ui/src/dashboard/flow/flow-data.ts:348
↓ 6 callersFunctioncheckStackCookie
()
src/ui/public/game/websockets-doom.js:938
↓ 6 callersFunctionclampLevel
(n: number)
src/ui/src/dashboard/widgets/ChessPanel.tsx:136
↓ 6 callersFunctionenc
(s: string)
src/ui/src/dashboard/widgets/doomWad.test.ts:9
↓ 6 callersFunctionencodeVarintPopulateHep
(dAtA []byte, v uint64)
src/decoder/hep.pb.go:460
↓ 6 callersFunctionescapeField
escapeField escapes special characters in field string values
src/remotelog/lineproto.go:246
↓ 6 callersFunctionescapeSQL
(v string)
src/mcp/mcp.go:671
↓ 6 callersFunctionfail
()
src/ui/public/game/websockets-doom.js:4634
↓ 6 callersMethodgenerateToken
generateToken generates a JWT token and returns token + sessionId
src/coordinator/handlers/auth.go:342
← previousnext →201–300 of 4,264, ranked by callers